Quote:
Originally posted by HQ
Why does this command NOT work?
chmod -R 755 *.cgi
chmod: getting attributes of `*.cgi': No such file or directory
I want to recursively change every .cgi file to 755. Is there no way to do a wildcard and recurse at the same time with chmod?
|
bah... well the thing is that when you give it *.cgi it'll search only for *.cgi files for the chmod...
directories aren't *.cgi so the -R won't help, it won't get into the directories....
that's why it didn't work, but i don't know what should work, i almost have no clue about *nix .... so if you find the answer... please share it with us ;)