/var/lib/gdm oddness.

Colin Walters walters at redhat.com
Wed Mar 12 20:17:41 UTC 2008

On Wed, 2008-03-12 at 16:10 -0400, Dave Jones wrote:
> Anyone know whats up with the permissions on /var/lib/gdm/.gvfs ?
> On upgrade of certain packages, I'm seeing the error..
> cannot access /var/lib/gdm/.gvfs: Permission denied
> ls -l of that shows..
> d?????????  ? ?    ?       ?                ? .gvfs/
> My initial thought was 'eek, filesystem corruption'.
> Rebooting and running fsck picks up nothing.
> And in fact, when in runlevel 1, the permissions look sane.

GNU coreutils ls will show that if it can readdir() but not stat().
Normally stat() cannot fail (libc manual only shows ENOENT), but with
SELinux it can fail with EACCES.  So my guess is that SELinux policy is
denying access to that file.

More information about the devel mailing list