Read/write permission to ALL users on a directory and everything in it
I have searched but the threads give read/write permissions only to a single folder.
I want to chmod an entire directory with everything in it. I was using chmod -R a+rw /directory |
Are you getting an error? That should be correct, I believe. Are you using the complete directory path (i.e. /home/user/stuff instead of /stuff)?
|
You may want to use the following instead. The capital 'X' means set the executable bit if it is a directory (or a file that already has the executable bit set):
Code:
chmod -R a+rwX /directory |
Cool thanks, it's working fine now. Don't know why it wasn't before, suppose it's a mistake I made somewhere :)
|
All times are GMT -5. The time now is 12:59 PM. |