OT: find command permissions: how to exclude dir?

Dave Burns tburns at hawaii.edu
Thu Oct 30 18:34:01 UTC 2008


On Wed, Oct 29, 2008 at 5:17 PM, R. G. Newbury <newbury at mandamus.org> wrote:
> ----------------------------
>>
>
> This problem got me a while ago, and discussed here.

http://www.mail-archive.com/fedora-list@redhat.com/msg18051.html is
all I found, no help there.

> The problem is the mount permissions/capabilities of the mount point. Try
> re-mounting with 'rw, exec, suid,' and you will probably find that 'find'
> finds what you would like found (sorry!... Could not resist....).

So you're saying Rick is wrong - the callbacks are available to root,
but it can't execute them because of noexec or nosuid? I've gotten my
session in a weird state (.gvfs unmounted & I don't know how to
remount), so I can't test it until later. That again seems odd, since
user tburns has no problem executing 'find /users/tburns/.gvfs' but
root cannot do it.

I think I will probably just make a kludgey workaround - pipe error
messages to /dev/null - always fun.

Thanks to all.
Dave




More information about the fedora-list mailing list