Change Files & Sub Folders permission recursively in Linux

Published on : May 17, 2012

Author:

Category: Ubuntu


I upload a zip file one of my client rackspace server for Magento Project. When I unzip the file by SSH command, I can see all permission changed. Files was 600 and Folders & Sub Folders 700. I couldn’t access any files by browser. I was little bit worry and tried to a easy solutions because there was large number of folders & files.Finally I fixed it easily by SSH command:

Recursively change permission under a directory:


chmod -R 755 */

Change Single Folder & all files permission:


chmod -R 777 directory_name/

Hope you will get help from this. 🙂
Thanks


Leave a Reply

Your email address will not be published. Required fields are marked *