Restore default Maildir rights values

Richard G

Verified User
Joined
Jul 6, 2008
Messages
13,846
Location
Maastricht
I discovered some rights in the Maildir folders of users were different.
I use mod_ruid2.

Ownership is oke.
But for example the "cur" directory is 755 with one user and 660 on another users account. Same goes for files. On some accounts that's 664 on others it's 660.
So something went wrong there.

Is there a way to restore the Maildir rights to their default values?
 
cd /usr/local/directadmin/scripts
./set_permissions.sh
 
Back
Top