I need to change access to over 5000 files in the same directory
I made the mistake of transfering all my audio files while in root. Now I have 5000 files and directories that I cannot access as a non-super-user. Is there a way to change the file permissions in one fell swoop instead of using chmod on every directory and file?
|
Yeah, recursive chmod'ing.
Code:
man chmod Code:
chmod -R new_owner /path/to/top/directory |
Thanks
I looked through the man file but obviously didn't understand it. Thanks so much.
|
Actually, you want to change the owner of the files, not the permissions.
Code:
chown -R new_owner /path/to/top/directory |
All times are GMT -5. The time now is 05:01 PM. |