Hi Guys,
Have your ever noticed a similarity between cPanel and direct admin? If not, here is the time!!
In the direct admin there is an option similar to cPanel scripts (/scripts), let's check it out!!
cd /usr/local/directadmin/scripts
DirectAdmin File Permission/Ownership script
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>
Thank you for checking!!