OT: find command permissions: how to exclude dir?

Patrick O'Callaghan pocallaghan at gmail.com
Thu Oct 30 03:56:12 UTC 2008


On Wed, 2008-10-29 at 23:17 -0400, R. G. Newbury wrote:
> ----------------------------
> > 
> > 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.

Nice one. That seems to work.

poc




More information about the fedora-list mailing list