The Art of Writing Short Stories Read Here

Change all files and folders permissions of a directory to 644/755

 Find is best command to apply permission to directories and files recursively to all .

For Directories

find /desired_location -type d -print0 | xargs -0 chmod 0755

For Files

find /desired_location -type f -print0 | xargs -0 chmod 0644

 

You may also like :