Knowledgebase

Please Login or Register

You are here: Portal Home > Knowledgebase > Linux Command Line Reference > How to change the permission of all the sub-directories to 755 in my account?

How to change the permission of all the sub-directories to 755 in my account?


Please run the following command from public_html directory that would update all the directory permissions to 755 recursively

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

If you want to update the file permissions to say 644, the following command would help:


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


Was this answer helpful?

Add to Favourites Add to Favourites

Print this Article Print this Article

Also Read
w (Views: 909)
fuser (Views: 788)
chmod (Views: 768)


Language:

Instant Activation Portal Home Client Area Announcements Knowledgebase Submit Ticket Downloads Order

 

© neosurge web solutions 2002-2010