On Thu, Nov 15, 2012 at 2:39 PM, Edward Ned Harvey (lopser) <[email protected]> wrote: > I'm running a script as root, I'm going to parse a file. I can easily test > that the file is owned by root. I want to test if the group or other write > bit is set. > > > > If using "find" you can test that a file is writable by yourself - but not > test if it's writable by anyone else. >
If you were going to use GNU find you could do something like: find . -type f -perm /022 not making calls out to helpers is always nice tho. -s _______________________________________________ Tech mailing list [email protected] https://lists.lopsa.org/cgi-bin/mailman/listinfo/tech This list provided by the League of Professional System Administrators http://lopsa.org/
