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

#627: Nonsense tarball permissions with sdist in Cabal 1.8.0.2 ----------------------------+----------------------------------------------- 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

#627: Nonsense tarball permissions with sdist in Cabal 1.8.0.2 ----------------------------+----------------------------------------------- Reporter: draconx | Owner: Type: defect | Status: new Priority: normal | Milestone: Component: Cabal library | Version: Severity: normal | Keywords: Difficulty: unknown | Ghcversion: Platform: Linux | ----------------------------+----------------------------------------------- Comment(by duncan): As an temporary workaround use `cabal sdist` rather than `runghc Setup sdist`. -- Ticket URL: http://hackage.haskell.org/trac/hackage/ticket/627#comment:1 Hackage http://haskell.org/cabal/ Hackage: Cabal and related projects

#627: Nonsense tarball permissions with sdist in Cabal 1.8.0.2 ----------------------------+----------------------------------------------- Reporter: draconx | Owner: Type: defect | Status: new Priority: normal | Milestone: Component: Cabal library | Version: Severity: normal | Keywords: Difficulty: unknown | Ghcversion: Platform: Linux | ----------------------------+----------------------------------------------- Comment(by draconx): 'cabal sdist' solves the group/world readability problem, but executable bits are still lost. -- Ticket URL: http://hackage.haskell.org/trac/hackage/ticket/627#comment:2 Hackage http://haskell.org/cabal/ Hackage: Cabal and related projects
participants (1)
-
Hackage