You are not logged in or registered. Please login or register to use the full functionality of this board...
Linuxcat.org
Reset file and folder permissions cPanel - Printable Version

+- Linuxcat.org (https://www.linuxcat.org)
+-- Forum: Linux Guides and Troubleshooting (/forumdisplay.php?fid=1)
+--- Forum: Linux Guides (/forumdisplay.php?fid=2)
+--- Thread: Reset file and folder permissions cPanel (/showthread.php?tid=76)



Reset file and folder permissions cPanel - knifebunny - 04-05-2018 08:27 AM

In order to reset a cPanel account's file and folder permissions in public_html via SSH, first cd into the public_html directory:

Quote:cd /home/account/public_html

then reset the directories within that folder to 755:

Quote:find . -type d -exec chmod 755 {} \;

then reset the files within that folder to 644

Quote:find . -type f -exec chmod 644 {} \;