Thursday, June 17, 2010

Giving Read,Write and Edit permission to a folder in linux

open the terminal
navigate to the particular folder to which we should give permission say validator folder

[subin@wipro-049cafd91 Desktop]$ chmod 777 validator

This will give read, write and edit permissions to validator folder, but the folders(sub folders) present inside the validator folder we don't have permission to access, again we have to do chmod for each and every subfolder

In-order to overcome this problem, we have to use following command

[subin@wipro-049cafd91 Desktop]$ chmod -R 777 validator

This will give read,write and edit permissions to entire folder, including subfolders and files

No comments:

Post a Comment