[Hackage] #886: when installing globally, cabal shouldn't use umask, should set mods to 755 or 644

Hackage cvs-ghc at haskell.org
Sun Sep 18 20:01:45 CEST 2011


#886: when installing globally, cabal shouldn't use umask, should set mods to 755
or 644
----------------------------+-----------------------------------------------
  Reporter:  alistra        |        Owner:         
      Type:  defect         |       Status:  new    
  Priority:  normal         |    Milestone:         
 Component:  Cabal library  |      Version:  1.8.0.6
  Severity:  normal         |     Keywords:         
Difficulty:  unknown        |   Ghcversion:         
  Platform:                 |  
----------------------------+-----------------------------------------------
 I have an umask 077 on my root user, but when i type:
 cabal install --global pkg
 or I have a global setting in my configuration file, cabal installs the
 package globally, but with root's umask.

 cabal is a package manager and if I install a package globally, I expect
 it to be accessible globally.

-- 
Ticket URL: <http://hackage.haskell.org/trac/hackage/ticket/886>
Hackage <http://haskell.org/cabal/>
Hackage: Cabal and related projects



More information about the cabal-devel mailing list