You are not logged in or registered. Please login or register to use the full functionality of this board...

Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Reset file and folder permissions cPanel
04-05-2018, 08:27 AM
Post: #1
Reset file and folder permissions cPanel
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 {} \;
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)