Results 1 to 4 of 4
-
05-10-2004, 09:19 AM #1WHT Addict
- Join Date
- Feb 2003
- Posts
- 109
How to CHMOD files within multiple subfolders
What is the linux command to chmod file types within multiple subfolders? I have a lot of cgi files in many different subfolders within the cgi-bin. There are even subfolders within subfolders. I will need to chmod filetypes (*.cgi)
-
05-10-2004, 09:38 AM #2Web Hosting Master
- Join Date
- May 2001
- Location
- Dayton, Ohio
- Posts
- 4,977
cd /home/your/parent/directory
chmod -R 755 *.cgi
-
05-10-2004, 09:44 AM #3Newbie
- Join Date
- Apr 2004
- Posts
- 28
Try using chmod -R. This will forecefully change the permissions on all folders recursively.
-
05-10-2004, 09:49 AM #4WHT Addict
- Join Date
- Feb 2003
- Posts
- 109
I figured it out thanks