OT: find command permissions: how to exclude dir?
Rick Stevens
ricks at nerd.com
Wed Nov 5 21:58:26 UTC 2008
Gordon Messmer wrote:
> Rick Stevens wrote:
>> Gordon Messmer wrote:
>>>
>>> If -name is the first predicate, and you prune matches, find will not
>>> need to stat() the directory entry:
>>
>> Sorry, won't work for GVFS filesystem mountpoints. As soon as the
>> non-owner touches the inode, the error occurs.
> ...
>> Note that test was on F9, x86_64.
>
> Yep, that appears to be true for F9. It looks like the version of
> findutils included in F10 has been fixed in this respect, though.
> There's no need to touch the inode for directories which are being
> pruned based on their name. :)
Nice to hear...or is it a change in GVFS?
> The platform difference explains the discrepancy between your tests and
> mine.
Yeah, guess so.
----------------------------------------------------------------------
- Rick Stevens, Systems Engineer ricks at nerd.com -
- AIM/Skype: therps2 ICQ: 22643734 Yahoo: origrps2 -
- -
- "Microsoft is a cross between The Borg and the Ferengi. -
- Unfortunately they use Borg to do their marketing and Ferengi to -
- do their programming." -- Simon Slavin -
----------------------------------------------------------------------
More information about the fedora-list
mailing list