bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

chmod (coreutils) 4.5.1: failed to get attributes (buggy recursion)


From: Benjamin Rampe
Subject: chmod (coreutils) 4.5.1: failed to get attributes (buggy recursion)
Date: Sat Oct 19 13:02:02 2002
User-agent: KMail/1.4.3

Hello,
chmod does not enter subdirectories for recursive changing file 
permissions if there are no files of the given type in the 
top-level directiry.

i.e:

corvus:/ogg-files# chmod -x *.ogg -R
chmod: failed to get attributes of `*.ogg': No such file or directory
corvus:/ogg-files# cp ./new/radio tux/sendung001.ogg .
corvus:/ogg-files# chmod -x *.ogg -R
corvus:/ogg-files# 

And suddenly all the ogg-files in the subdirectories got their execution
right removed.
That is a very ugly behaviour.

Sorry, no patch from me. I do not have much experience with code of
the coreutils. 

Good luck,
Benjamin Rampe




reply via email to

[Prev in Thread] Current Thread [Next in Thread]