Click to See Complete Forum and Search --> : chmod question


plasmid
12-02-2000, 11:38 PM
can I use chmod to alter all the files in a directory to one set of permisions? what about files with in subdirectories? Let me know if there is a way to do this.

-plasmid

demetrius
12-02-2000, 11:59 PM
Yup ... just use the -R tag. For example to add write permission for all the files in a folder 'foo' for users in the group you would use: chmod -R g+w foo. For more info just type chmod --help or man chmod in a terminal.