[Hackage] #93: Incorrect permissions on library install

Hackage trac at galois.com
Thu Jan 29 19:01:43 EST 2009

#93: Incorrect permissions on library install
  Reporter:  guest          |        Owner:           
      Type:  defect         |       Status:  closed   
  Priority:  normal         |    Milestone:  Cabal-1.8
 Component:  Cabal library  |      Version:  1.1.4    
  Severity:  normal         |   Resolution:  fixed    
  Keywords:                 |   Difficulty:  normal   
Ghcversion:  6.4.2          |     Platform:  Linux    
Changes (by duncan):

  * status:  new => closed
  * resolution:  => fixed


 Fixed in cabal head and the 1.6 branch.

 The behavior now when installing is that we ignore the permissions the
 files had in the build tree and the user's umask. We explicitly set
 permissions for all files we install.

 The only inconsistency is that we're not yet setting the permissions of
 directories we create when installing. So they currently inherit the umask
 of the installing user. In the case in this bug that will work fine.

Ticket URL: <http://hackage.haskell.org/trac/hackage/ticket/93#comment:7>
Hackage <http://haskell.org/cabal/>
Hackage: Cabal and related projects

More information about the cabal-devel mailing list