21 Mar
2011
21 Mar
'11
7:07 p.m.
On Thu, 2011-03-17 at 12:41 -0500, upen wrote:
#ls -ald /localdir drwxrwxrwx 31 root root 12288 Mar 17 10:48 /localdir/
# ls -ald /localdir/mail drwxrwxrwx 3 dovecot dovecot 4096 Mar 17 10:49 /localdir/mail
mkdir /localdir/mail/username chown username:group /localdir/mail/username chmod 700 /localdir/mail/username
Do you think it is okay to keep these perms ?
At least you should do chmod +t /localdir /localdir/mail.
Or just keep them 0755 and create /localdir/mail/username with proper permissions immediately for new users.