chmod -R 775 *.cgi only changes permissions on the files in the current directory, the files in the subdirectory don’t get modified at all. This is the exact same functionality as simply doing chmod 775 *.cgi. I have seen people use solutions such as with find and whatnot. Ok great, but why does -R mode even exist if it doesn’t even accomplish anything?
chmod -R 775 *.cgi only changes permissions on the files in the current directory,
Share
Probably because you have no directories named
*.cgi. Quoth the manual:For example: