_g_local_file_info_get doesn't return an error if it gets an EACCES
Submitted by John Hughes
Link to original bug (#721630)
Description
_g_local_file_info_get deliberately ignores EACCES, this was done to fix RedHat bug 586412
A side effect of this change is that if /usr/local is an nfs4 directory mounted with sec=krb5 and the gdm3 user doesn't have a Kerberos ticket then gnome-shell thinks the /usr/local/share/gnome-shell/modes directory exists (because glib doesn't tell it about the EACCES error) but it can't read it.
Due to bug 721629 this leaves the user without the gdm3 login screen.
(This is Debian bug 734141)
Version: 2.36.x