On Thu, Dec 01, 2005 at 08:13:08AM -0800, Daniel Burrows wrote:
>   Even though my umask is 022, darcs seems to create patches with mode 600,
> or perhaps set them to mode 600 from time to time.  This is rather annoying 
> if you want to publish a repository for other people to pull from:

The most likely culprit is if you're running darcs apply from a mailer.
Mailers generally modify the umask before piping to an external command.  I
have an entry like

macro pager A "<pipe-entry>(umask 022; darcs apply --no-test --repodir ~/darcs)

in my .muttrc to work around this "feature" in mutt.
-- 
David Roundy

Attachment: signature.asc
Description: Digital signature

Reply via email to