Ticket #641 (new defect)

Opened 3 years ago

Last modified 3 years ago

Cabal-1.8 install of darcs installs manpage with permission 0600

Reported by: juhp Owned by:
Priority: normal Milestone:
Component: Cabal library Version: HEAD
Severity: normal Keywords:
Cc: Difficulty: unknown
GHC Version: Platform: Linux

Description

With ghc-6.12.1 (ie Cabal-1.8.0.2) cabal installing darcs-2.4 creates a manpage with permission 0600. This doesn't happen with ghc-6.10.4 (Cabal-1.6) so looks like a regression.

I starting looking at the code but didn't track down the cause yet.

Change History

Changed 3 years ago by duncan

It'll be the use of writeFileAtomic which starts by creating a temp file with perms 0600.

Note: See TracTickets for help on using tickets.