OT: find command permissions: how to exclude dir?

R. G. Newbury newbury at mandamus.org
Thu Oct 30 03:17:23 UTC 2008


----------------------------
> 
> Message: 4
> Date: Wed, 29 Oct 2008 19:10:28 -0400
> From: Todd Denniston <Todd.Denniston at ssa.crane.navy.mil>
> Subject: Re: OT: find command permissions: how to exclude dir?
> To: "Community assistance, encouragement,	and advice for using
> 	Fedora." <fedora-list at redhat.com>
> Message-ID: <4908ED64.8090609 at ssa.crane.navy.mil>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
> 
> Patrick O'Callaghan wrote, On 10/29/2008 07:04 PM:
>> (Does anyone else think .gvfs is a PITA?)

This problem got me a while ago, and discussed here.

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....).

mount with '-defaults' is quite restricted....even root cannot execute 
commands. You will have to dive into the depths of 'man find' to 
find....etc. etc.

Geoff





More information about the fedora-list mailing list