Results 1 to 3 of 3
Hi,
I am new to Linux Ubuntu and am eager to learn from you experts. I have a question here. I have a folder that has files in it. If ...
- 03-03-2010 #1Just Joined!
- Join Date
- Mar 2010
- Posts
- 9
file permission issue
Hi,
I am new to Linux Ubuntu and am eager to learn from you experts. I have a question here. I have a folder that has files in it. If i change the permission of the folder to say "chmod 777 foldername", I believe this change the permission of the folder only but not the files under it.
In Windows, it works differently from Linux. By changing the permission of a folder, the changes will be applied to the rest of the files under the folder. Is there a way of applying the same rule to Linux. Otherwise, i have to go through to each and every files to change the permission from read-only to read-write-execute permission.
Any help would be greatly appreciated.
Thank you in advance
- 03-03-2010 #2Just Joined!
- Join Date
- Aug 2009
- Location
- Evil Empire
- Posts
- 33
chmod -R will help you.
- 03-03-2010 #3
Hi and Welcome !
As suggested by mzv, use -R option with chmod to change modes recursively. Check manual of chmod command.
I would suggest you to check linuxcommand.org.Code:chmod -R <mode> <folder> man chmod
It is amazing what you can accomplish if you do not care who gets the credit.
New Users: Read This First


Reply With Quote