[Haskell-cafe] Why does cabal sdist still make tarballs with incorrect file modes?

John D. Ramsdell ramsdell0 at gmail.com
Sun Nov 28 15:17:12 CET 2010


As I played with GHC 7.0.1, I noticed that Cabal
sdist is still hosed.  Since ten months ago, cabal sdist fails to
preserve the file mode bits of the source files put into the tarball
being generated (Ticket #627 reported by draconx). An executable shell
script and a source file world readable both have a mode of 600 in the
tarball. Does anyone know why this bug is difficult to fix?  Why can't
one revert to the code used in Cabal 1.6.0.1, which is know to work?

John


More information about the Haskell-Cafe mailing list