0b4e1043e596bfb36d999dacbf1d4d63ee96d75f |
|
04-Jun-2010 |
Timo Sirainen <tss@iki.fi> |
When creating shared directories, preserve parent dir's permissions if it has setgid bit enabled.
This works only if location path uses %variables. The directories up to
last variable are created by preserving parent directory's modes, while
the rest of the directories are created with 0700. For example
with "/var/mail/%d/%2n/%n/Maildir", "/var/mail/domain/nn" preserves /var/mail's
permissions, while the "username/Maildir" directories have 0700 mode.
--HG--
branch : HEAD |