Friday, 25 April 2014

DirectAdmin File Permission & Ownership Fixed

DirectAdmin File Permission & Ownership Fixed
DirectAdmin File Permission & Ownership Fix!
DirectAdmin File Permission/Ownership script




Run Command :




cd /usr/local/directadmin/scripts



Usage:
./set_permissions.sh all

./set_permissions.sh da_files
./set_permissions.sh user_homes
./set_permissions.sh mysql
./set_permissions.sh email
./set_permissions.sh logs
./set_permissions.sh etc_configs

internal:
./set_permissions.sh maildir <user> <path/Maildir>
./set_permissions.sh set_user_home <user>






Problem as


An error occurred while attempting to create the directory

Details

Parent directory does not allow write, or one of the directories didn't allow search (execution) permission

No comments:

Post a Comment