Welcome to WebmasterWorld Guest from

Forum Moderators: open

Message Too Old, No Replies

Recursive chmod

Recursive option appears to be ignored

3:56 am on Sep 5, 2006 (gmt 0)

New User

10+ Year Member

joined:Sept 5, 2006
votes: 0

After publishing my website using Maven 2, I need to change the permissions on all *.html files in my www folder and all of its subfolders. It seemed simple, just use chmod with the -R option for recursive.

So I type:
chmod -R u=rw,go=r *.html

The effect is that only the files in the current directory are changed. No recursion takes place. To verify, I used the -v (verbose) option; and, as I thought, the recursion does not take place.

Have I missed something here? Or is there an issue with the -R option to the chmod command?

Any help is greatly appreciated.