Script To Fix Permissions And Ownership, on files and Directories, for cPanel Accounts

Fixing permission for a cpanel account doing manually is a difficult task. We can do it by running a script. For that follow below steps,

→Download the script using below command

→To make it is executable please give execute permission for it.
chmod +x

→We can run the script to fix a permission of a particular account by using below command
sh ./ -a USER-NAME

Replace the USER-NAME with the user that we want to fix the permission.

Facebook Comments