[Hackage] #93: Incorrect permissions on library install

Hackage cvs-ghc at haskell.org
Fri Apr 23 18:29:36 EDT 2010

#93: Incorrect permissions on library install
  Reporter:  guest          |        Owner:           
      Type:  defect         |       Status:  reopened 
  Priority:  normal         |    Milestone:  Cabal-1.8
 Component:  Cabal library  |      Version:  1.1.4    
  Severity:  normal         |   Resolution:           
  Keywords:                 |   Difficulty:  normal   
Ghcversion:  6.10.1         |     Platform:  Linux    

Comment(by svat2):

 This bug still exists, it is not restricted to library installs or to
 Unix, and is a big nuisance.

 My OS is Mac OS X, user umask is 077, cabal version is "cabal-install
 version 0.8.0 using version of the Cabal library". I set my cabal
 to global installs, and did `sudo cabal install pandoc`. A lot of files
 (including the binary itself) were installed with incorrect permisssions,
 so I (as user) couldn't run the program. I tried changing umask and
 reinstalling with `sudo cabal --reinstall install pandoc`, but it didn't
 fix permissions. (Possibly because my root umask also appears to be 077
 for some reason.)

 Doing `sudo chmod -vR a+rX /usr/local` was the workaround that finally

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

More information about the cabal-devel mailing list