How To Change Permissions For Files And Directories

By Jason


...

chmod

This command changes the permission of a file. To change the permissions of all files and directories in the public_html/ folder use the following command:

cd /home/username/public_html ; find . -type f | xargs chmod 644 ; find . -type d | xargs chmod 755

For more information about chmod command use man chmod.


Tags: , , , , ,

Spin up a cloud server in no time flat

Simple setup. Full root access. Straightforward pricing.

DEPLOY SERVER

Leave a Reply



Feedbacks