----------------------------
Message: 4 Date: Wed, 29 Oct 2008 19:10:28 -0400 From: Todd Denniston Todd.Denniston@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@redhat.com Message-ID: 4908ED64.8090609@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
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@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@redhat.com Message-ID: 4908ED64.8090609@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
On Wed, Oct 29, 2008 at 5:17 PM, R. G. Newbury newbury@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
On Thu, 30 Oct 2008 08:34:01 -1000 Dave Burns tburns@hawaii.edu wrote:
I think I will probably just make a kludgey workaround - pipe error messages to /dev/null - always fun.
My brother just sent me this email:
QUOTE: My problem (OK - maybe just one of my problems) is that I can't figure out who/where/how it was decided to mount this filesystem...and how to fix it (permanently). As it is, the issue seems to come back when the machine reboots. END OF QUOTE
Does anyone know how this works and what the real solution is? (Is there a real solution?)
On Thu, Oct 30, 2008 at 8:47 AM, Frank Cox theatre@sasktel.net wrote:
Does anyone know how this works and what the real solution is? (Is there a real solution?)
Yeah, is there any gnome setting that lets you turn gvfs off or make it act reasonable? Dave
On Thu, Oct 30, 2008 at 8:49 AM, Dave Burns tburns@hawaii.edu wrote:
On Thu, Oct 30, 2008 at 8:47 AM, Frank Cox theatre@sasktel.net wrote:
Does anyone know how this works and what the real solution is? (Is there a real solution?)
Yeah, is there any gnome setting that lets you turn gvfs off or make it act reasonable? Dave
this is as close as I can find to a hint, but I can't make heads or tails of the script. And why run it in a endless loop?
http://www.mail-archive.com/fedora-list@redhat.com/msg18051.html
Dave
Frank Cox wrote:
On Thu, 30 Oct 2008 08:34:01 -1000 Dave Burns tburns@hawaii.edu wrote:
I think I will probably just make a kludgey workaround - pipe error messages to /dev/null - always fun.
My brother just sent me this email:
QUOTE: My problem (OK - maybe just one of my problems) is that I can't figure out who/where/how it was decided to mount this filesystem...and how to fix it (permanently). As it is, the issue seems to come back when the machine reboots. END OF QUOTE
Does anyone know how this works and what the real solution is? (Is there a real solution?)
It's part of the Gnome virtual file system and it should recur whenever the user logs out and logs back in (I don't think a reboot has anything to do with it). I know of no "work around" for it. ---------------------------------------------------------------------- - Rick Stevens, Systems Engineer ricks@nerd.com - - AIM/Skype: therps2 ICQ: 22643734 Yahoo: origrps2 - - - - Okay, who put a "stop payment" on my reality check? - ----------------------------------------------------------------------