If someone is logged into the desktop, gvfs mounts in there home dir,
and df works if you ssh login as another user and do a df. The problem I
am seeing is when no one is logged in and /var/lib/lightdm/.gvfs is
mounted.  For example:

No one logged into the desktop:

$ df
df: `/var/lib/lightdm/.gvfs': Permission denied
Filesystem                1K-blocks    Used Available Use% Mounted on
/dev/mapper/sdavg-root      9733688 3411164   5834284  37% /
udev                         495080       4    495076   1% /dev
tmpfs                        201656     808    200848   1% /run
none                           5120       0      5120   0% /run/lock
none                         504140     152    503988   1% /run/shm
/dev/mapper/sdavg-backup   19932248  425728  18506688   3% /backup
/dev/sda1                    188403   30626    148049  18% /boot

The mount command shows the mount:

$ mount | grep gvfs
gvfs-fuse-daemon on /var/lib/lightdm/.gvfs type fuse.gvfs-fuse-daemon 
(rw,nosuid,nodev,user=lightdm)


If another users is logged into the system mount shows:

mount | grep gvfs
gvfs-fuse-daemon on /home/sopkol/.gvfs type fuse.gvfs-fuse-daemon 
(rw,nosuid,nodev,user=sopkol)

and df works:

$ df
Filesystem                1K-blocks    Used Available Use% Mounted on
/dev/mapper/sdavg-root      9733688 3411196   5834252  37% /
udev                         495080       4    495076   1% /dev
tmpfs                        201656     808    200848   1% /run
none                           5120       0      5120   0% /run/lock
none                         504140     152    503988   1% /run/shm
/dev/mapper/sdavg-backup   19932248  425728  18506688   3% /backup
/dev/sda1                    188403   30626    148049  18% /boot

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/867806

Title:
  df -h permission denied error

To manage notifications about this bug go to:
https://bugs.launchpad.net/lightdm/+bug/867806/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to