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

Hackage cvs-ghc at haskell.org
Sat Sep 24 00:34:51 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:                 |  
----------------------------+-----------------------------------------------

Comment(by duncan):

 I believe this is fixed in Cabal-1.10. Could you please try that version
 and confirm?

 Otherwise we'll have to take a look at what's going on. For reference for
 anyone looking into this. see Distribution.Simple.Utils:
 {{{
         -- * installing files
         installOrdinaryFile,
         installExecutableFile,
         installOrdinaryFiles,
         installDirectoryContents,

         -- * File permissions
         setFileOrdinary,
         setFileExecutable,
 }}}

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



More information about the cabal-devel mailing list