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

Re: Debian Weekly News - January 4th, 2000



On 6/1/2000 Andrei D. Caraman wrote:


 > find / -type f -perm +0002 -exec ls -ld {} \;

         ^^^^^^^

Wouldn't this miss directories?  Or has it already been
established that those were not affected?

yes it would, and yes directories were indeed affected, I suppose a better find might be

find / ! -type l ! -type c -perm +0002 -exec ls -ld {} \;

but my main gist was so he could tell if he was bitten by the bug at all, and the first command would certainly do that, there are plenty of files with bad perms even when ignoring the directories :( (i fixed it all manually, it took forever ...)


--
Ethan Benson
To obtain my PGP key: http://www.alaska.net/~erbenson/pgp/


Reply to: