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
wget https://raw.githubusercontent.com/PeachFlame/cPanel-fixperms/master/fixperms.sh

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

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

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

Facebook Comments