[Hackage] #627: Nonsense tarball permissions with sdist in Cabal

Hackage trac at galois.com
Thu Jan 28 15:19:58 EST 2010

#627: Nonsense tarball permissions with sdist in Cabal
  Reporter:  draconx        |        Owner:     
      Type:  defect         |       Status:  new
  Priority:  normal         |    Milestone:     
 Component:  Cabal library  |      Version:     
  Severity:  normal         |     Keywords:     
Difficulty:  unknown        |   Ghcversion:     
  Platform:  Linux          |  
 After upgrading to Cabal 1.8, running './Setup.lhs sdist' in any package
 is generating tarballs with bizarre permissions:

   - Every directory has mode 0755.
   - Every file has mode 0600.

 In particular, the executable bits from files are lost, and files should
 be group/world readable.  Cabal 1.6 generates correct permissions.

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

More information about the cabal-devel mailing list