This should not be marked as Fixed, because it isn't. Even as 'root' you get an error when it is not expected.
$ sudo ls -l /var/lib/lightdm/ ls: cannot access /var/lib/lightdm/.gvfs: Permission denied total 52 drwxr-x--- 10 lightdm lightdm 4096 Aug 9 12:31 . drwxr-xr-x 93 root root 4096 Jul 6 16:32 .. -rw------- 1 lightdm lightdm 49 Aug 9 12:31 .Xauthority drwx------ 4 lightdm lightdm 4096 Jul 11 13:49 .cache drwx------ 4 lightdm lightdm 4096 Jul 6 17:04 .config drwx------ 3 lightdm lightdm 4096 Jul 6 17:02 .dbus -rw------- 1 lightdm lightdm 16 Jul 6 17:12 .esd_auth drwxr-xr-x 2 lightdm lightdm 4096 Jul 11 13:48 .fontconfig drwx------ 2 lightdm lightdm 4096 Aug 9 12:31 .gconf -rw------- 1 lightdm lightdm 49 Jul 12 10:39 .goutputstream-4YYRGW d????????? ? ? ? ? ? .gvfs drwxrwxr-x 3 lightdm lightdm 4096 Jul 6 17:03 .local drwx------ 2 lightdm lightdm 4096 Aug 1 11:40 .pulse -rw------- 1 lightdm lightdm 256 Jul 6 17:04 .pulse-cookie Notice that we're _not_ reading the .gvfs directory, no we're just reading the home directory of user lightdm. The problem is that you can't even get the "stat" of that directory entry. So, even before the system can see whether there is read (or write) access you get an error. That's not how Unix systems suppose to work. Does anyone know why lightdm needs that entry in the first place? -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to lightdm in Ubuntu. https://bugs.launchpad.net/bugs/867806 Title: df -h permission denied error Status in Light Display Manager: New Status in “lightdm” package in Ubuntu: Fix Released Bug description: Running "df -h" from the cli as a normal user returns: Filesystem Size Used Avail Use% Mounted on /dev/md0 37G 6.6G 29G 19% / udev 796M 8.0K 796M 1% /dev tmpfs 322M 888K 321M 1% /run none 5.0M 0 5.0M 0% /run/lock none 805M 92K 805M 1% /run/shm /dev/sda3 1.8T 265G 1.6T 15% /mnt/d1 /dev/sdb3 1.8T 1.7T 102G 95% /mnt/d2 /dev/sdc3 893G 33M 893G 1% /mnt/d3 df: `/var/lib/lightdm/.gvfs': Permission denied $ running with "su" $ sudo df -h Filesystem Size Used Avail Use% Mounted on /dev/md0 37G 6.6G 29G 19% / udev 796M 8.0K 796M 1% /dev tmpfs 322M 888K 321M 1% /run none 5.0M 0 5.0M 0% /run/lock none 805M 92K 805M 1% /run/shm /dev/sda3 1.8T 265G 1.6T 15% /mnt/d1 /dev/sdb3 1.8T 1.7T 102G 95% /mnt/d2 /dev/sdc3 893G 33M 893G 1% /mnt/d3 $ ProblemType: Bug DistroRelease: Ubuntu 11.10 Package: bash 4.2-0ubuntu4 ProcVersionSignature: Ubuntu 3.0.0-10.16-server 3.0.4 Uname: Linux 3.0.0-10-server x86_64 ApportVersion: 1.23-0ubuntu2 Architecture: amd64 Date: Tue Oct 4 14:17:28 2011 InstallationMedia: Ubuntu-Server 11.04 "Natty Narwhal" - Release amd64 (20110426) ProcEnviron: SHELL=/bin/bash LANG=en_US.UTF-8 SourcePackage: bash UpgradeStatus: Upgraded to oneiric on 2011-09-05 (29 days ago) To manage notifications about this bug go to: https://bugs.launchpad.net/lightdm/+bug/867806/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : [email protected] Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp

