files and folders permission
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.
-
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: /scripts/mailperm $username
Thank you.0
Please sign in to leave a comment.
Comments
1 comment