<<< Date Index >>>     <<< Thread Index >>>

Re: [PATCH] Add $umask for mailboxes and attachments



On Tue, Mar 20, 2007 at 08:05:02AM +0100, Nicolas Rachinsky wrote:
> * Derek Martin <invalid@xxxxxxxxxxxxxx> [2007-03-20 00:07 -0400]:
> > find Maildir -exec chmod 644 {} \;
> 
> find Maildir -exec chmod -vv 644 {} \;
> Maildir: 040755 [drwxr-xr-x ] -> 040644 [drw-r--r-- ]
> find: Maildir/cur: Permission denied

Oh fine.

find Maildir -type f -exec chmod 644 {} \;
find Maildir -type d -exec chmod 755 {} \;

-- 
Derek D. Martin    http://www.pizzashack.org/   GPG Key ID: 0xDFBEAD02
-=-=-=-=-
This message is posted from an invalid address.  Replying to it will result in
undeliverable mail.  Sorry for the inconvenience.  Thank the spammers.