Another observation. When no one is logged in and /var/lib/lightdm is mounted the directory permissions do not allow other access:
% ls -ld /var/lib/lightdm drwxr-x--- 9 lightdm lightdm 4096 May 6 09:50 /var/lib/lightdm If someone is logged into the desktop gui the gvfs directory permissions are set to whatever the users home directory is set to: % ls -ld /home/sopkol drwxr-xr-x 23 sopkol sopkol 4096 May 8 15:54 /home/sopkol So if you can read the directory mount df does not complain permission denied. If you chmod on /var/lib/lightdm so you can read the dir the problem goes away. Don't know if that is a security issue: % chmod 755 ld /var/lib/lightdm and df will not complain. I did a reboot and the permissions did not change and it still worked: % mount | grep gvfs gvfs-fuse-daemon on /var/lib/lightdm/.gvfs type fuse.gvfs-fuse-daemon (rw,nosuid,nodev,user=lightdm) |% ls -ld /var/lib/lightdm drwxr-xr-x 9 lightdm lightdm 4096 May 8 16:01 /var/lib/lightdm/ |% df Filesystem 1K-blocks Used Available Use% Mounted on /dev/mapper/sdavg-root 9733688 3411316 5834132 37% / udev 495080 4 495076 1% /dev tmpfs 201656 804 200852 1% /run none 5120 0 5120 0% /run/lock none 504140 144 503996 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