Quote:
Originally Posted by JACOBKELL
Hmm it's workign withing cmod 776 also but the problem is then i need to chmod every subdirectory which i wanna edit.What is command for chmod all subdirectories in directory?
|
Nearly any file system command in linux (POSIX, specifically) has an -R (recursive). To answer specifically:
chmod -R ### /path/to/directory
will recursively chmod the files/directories/etc...but why break open your permissions when you can login as root and run:
chown <user> /path/to/script
to "give it back" to the original user? Same goes for chgrp (in case you need to change the group)...