Results 1 to 3 of 3
Hello guys!
I was reorganizing my files and have encountered this problem.
I change the persmission of a directory using
Code:
$ sudo chmod o+rwx FILE
and it changes only ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 05-22-2012 #1
How to Change Permissions Main Directory down to the Last Directory
Hello guys!
I was reorganizing my files and have encountered this problem.
I change the persmission of a directory using
and it changes only to find out that the files inside have also changed to I have to do this again..Code:$ sudo chmod o+rwx FILE
And so on and so forth. It would take me ages to finish doing this to all my files.Code:sudo chmod o+rwx FILES_INSIDE
Can someone kindly give me a command that I can execute to recursively change my files and all sub files dwon the line to +rwx please?
Thank you!Last edited by nujinini; 05-22-2012 at 05:34 AM. Reason: grammar
nujinini
Linux User #489667
- 05-22-2012 #2Just Joined!
- Join Date
- May 2012
- Posts
- 11
Use the recursive switch (its a CAPITAL -R)
Code:sudo chmod -R o+rwx FILE
- 05-22-2012 #3
Thank you mp035! DONE!
I was trying to do it this way actually
And now I knwo where I got it wrong!Code:$ sudo chmod o+rwx -r FILE
Thank you again!
regards,
nujinininujinini
Linux User #489667


Reply With Quote
