Red Hat Bugzilla – Bug 230584
face changes aren't picked up
Last modified: 2014-03-16 23:05:54 EDT
Description of problem:
GDM still shows the generic icon, instead of the face selected.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Go to 'About Me'
2. Select a random face
3. Log out
Still get generic white person logo.
A baseball. Or a chess piece. Or a duck!
Restarting gdm entirely (telinit 3 ; telinit 5) doesn't help.
As a data point, I tried changing the default face in gdmsetup, and still got
the generic icon.
what is the output of ls -ld ~ ~/.face ?
[notting@nostromo: ~]$ ls -ld ~ ~/.face
drwxr-xr-x 154 notting notting 77824 2007-04-06 01:21 /home/notting
-rw-rw-r-- 1 notting notting 3034 2007-04-06 01:24 /home/notting/.face
The face needs to have permission 755 IIRC - does that work?
This, btw, looks like a dup of bug 236393.
755? Not 644???
755 works. So this bug should either be against:
1) gdm, for requiring 755 (when 0644 should be fine)
2) gnome-about-me - for writing them as 0644 by default
(In reply to comment #7)
> 755 works. So this bug should either be against:
> 1) gdm, for requiring 755 (when 0644 should be fine)
This, IIRC, is a feature to require consent from the user that it's fine to
display his face which originates from a personal file in his home directory.
ICBW, and yes, I do think this is a weird security requirement.
Also, f-u-s-a and the screensaver do the same check IIRC.
> 2) gnome-about-me - for writing them as 0644 by default
This is what we should be fixing.
(In reply to comment #8)
> (In reply to comment #7)
> > 755 works. So this bug should either be against:
> > 1) gdm, for requiring 755 (when 0644 should be fine)
> This, IIRC, is a feature to require consent from the user that it's fine to
> display his face which originates from a personal file in his home directory.
> ICBW, and yes, I do think this is a weird security requirement.
Is this documented somewhere?
(This seems like a better job for selinux or similar.)
(In reply to comment #9)
> Is this documented somewhere?
Don't know; I remember googling for it a while back and found some fragments;
but I can't find this right now.
> (This seems like a better job for selinux or similar.)
No, it's completely broken to retrieve the users face from the home directory
because it means you can't see other users faces from f-u-s-a. It should
probably originate from the same place as the _rest_ of you account details.
Probably libuser should provide get/set functionality. Another option is to have
a system-wide D-Bus service. Yada yada yada.
gnome-about-me has been fixed to use 755 now. Time to close this, I think.
IMHO the GDM theme on Fedora 7 test 3 was much more user-friendly and
looked nicer than one I see in Fedora 7 test 4. The theme hasn't
changed but the icon for "face browser" had. Not beside user name
there is some strange icon with a question mark on the face which
looks odious to me.
It doesn't look inviting, and doesn't give me the welcome feeling that
a login page should be about.
And comments? Or is it just me? :)