On 09/06/2011 10:44 AM, Vic wrote:
>
> Hi All.
>
> I might be being a bit slow this morning, but I there appears to be
> something missing from find.
>
> I'm trying to find directories where the x bit is *clear* for everyone;
> the functionality seems to be missing.
>
> I can search for exact matches of the permissions, but that's not what I
> want - I don't care about anything but the r and x flags for all. I can
> search for either or both of those being set, but I can't see a way to
> find where they are clear.
Can't you use something like this?
! -perm /0001
where '!' means not.
>
> Am I being dumb?
One of us is.
cheers
Chris
>
> Thanks!
>
> Vic.
>
> [Aside: to make matters even worse, I've got to do this on a Solaris 7
> box. But while the syntax is different from the Linux find, the feature
> set seems to be the same.]
>
>
>
>
> --
> Please post to: Hampshire@???
> Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire
> LUG URL: http://www.hantslug.org.uk
> --------------------------------------------------------------
--
Chris Dennis cgdennis@???
Fordingbridge, Hampshire, UK