imran_khan

Well-Known Member
Jun 10, 2013
154
1
16
cPanel Access Level
Root Administrator
Hello,

By mistake I have ran the below command in /home/cpanelaccount/ folder instead of /home/cpanelaccount/public_html.

find . -type d -exec chmod 755 {} \;
find . -type f -exec chmod 644 {} \;

All the files and folders permission are changed under /home/cpanelaccount/ folder.
Now I want to correct the permission of single account under /home/cpanelaccount/ folder. Please suggest me on the same.

Thanks,
Imran Khan.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,884
2,254
463
Hello :)

There are no commands that will fix all permissions values after running such a command. You may want to restore the account, or manually update the permissions by comparing it to another account. One exception is that some mail files can have permissions corrected with this command:

Code:
/scripts/mailperm $username
Thank you.