Add permissions for the custom folders to set_permissions.sh

interfasys

Verified User
Joined
Oct 31, 2003
Messages
1,821
Location
Switzerland
The script doesn't touch the custom folders, but I think it would be a good idea for it to set the permissions correctly since they are different than the ones of the template or scripts folders (according to the literature)
 
Last edited:
Hello,

You're looking for:
Code:
cd /usr/local/directadmin
./directadmin p
which actually is a subset of:
Code:
set_permission.sh da_files
(which is also called in the "all" version)

John
 
Hello John,
Thank you for this tip.
I just did it and all the custom files are now 700. Is this correct? If yes, then a lot of the doc needs to be changed because it's often advised to chmod the custom scripts to 755.
Olivier
 
Back
Top