DirectAdmin File Permission/Ownership script
Usage:
./set_permissions.sh all
./set_permissions.sh da_files
./set_permissions.sh user_homes
etc.
No bash script needs to be written.
When you just use ./set_permissions.sh you will see all options, and in the beginning it says:
Code:DirectAdmin File Permission/Ownership script Usage: ./set_permissions.sh all ./set_permissions.sh da_files ./set_permissions.sh user_homes etc.
So either use ./set_permissions.sh all or if it's only for the homedirse, use ./set_permissions.sh user_homes.