Bug 719272

Summary: df: `/root/.gvfs': Permission denied
Product: [Fedora] Fedora Reporter: Berthault <Philippe.Berthault>
Component: gvfsAssignee: Tomáš Bžatek <tbzatek>
Status: CLOSED WONTFIX QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: unspecified    
Version: 14CC: alexl, bnocera, tbzatek, tsmetana
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-07-20 13:02:26 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Berthault 2011-07-06 10:14:23 UTC
Description of problem:
On Fedora-14 (with all updates applied), when I execute the "df" command, I have the following message at the end of the report:
df: `/root/.gvfs': Permission denied

I don't understand why Fedora want to access the .gvfs directory of root because I am not logged as root.

Version-Release number of selected component (if applicable):
rpm -qa | grep gvfs
gvfs-archive-1.6.6-1.fc14.i686
gvfs-fuse-1.6.6-1.fc14.i686
gvfs-obexftp-1.6.6-1.fc14.i686
gvfs-1.6.6-1.fc14.i686
gvfs-smb-1.6.6-1.fc14.i686
gvfs-gphoto2-1.6.6-1.fc14.i686
gvfs-afc-1.6.6-1.fc14.i686

How reproducible:

Steps to Reproduce:
1.
2.
3.
  
Actual results:

Expected results:

Additional info:

Comment 1 Berthault 2011-07-06 10:44:55 UTC
This problem has disappeared after a reboot of the system.

Comment 2 Tomáš Bžatek 2011-07-20 13:02:26 UTC
This typically happens when you run gnome-session or any other gnome app under root, autospawning gvfs-fuse-daemon. At first, Gnome apps should not be run under root nor su/sudo. As a second note, this is a design issue of FUSE mounts, denying access to other users - system tools should be aware of it and ignore.