There's apparently a bug with chmod's use of recursion.  Apparently, it
doesn't work.

Let's say I have a directory called 'test', with three subdirectories
called 'alpha', 'bravo', and 'charlie'.  Each subdirectory has two files in
it: 'alpha' has 'a1.txt' and 'a2.txt', 'bravo' has 'b1.txt' and 'b2.txt',
and 'charlie' has 'c1.txt' and 'c2.txt'.  All directories have permissions
775 and all files have permissions 644.

If I'm in 'test' and do:

 chmod -R 777 *.txt

I get the message:

 chmod: getting attributes of `*.txt': No such file or directory

If I put a file called 't1.txt' in the 'test' directory, and do the same
command, then 't1.txt' gets set to 777 (-rwxrwxrwx), and the error message
above does not appear, but none of the files in 'alpha', 'bravo', or
'charlie' get their permissions set to 777.

I'm using Red Hat 7.2, and the fileutils package is version 4.1-4.  Please
let me know if you need any more information about this bug.  Thanks.

-- 
- Matt Waggoner
- [EMAIL PROTECTED]

_______________________________________________
Bug-fileutils mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-fileutils

Reply via email to