Bug 370358 - GIve sddm user home folder and .face.icon ACL rights in order to load the avatar
Summary: GIve sddm user home folder and .face.icon ACL rights in order to load the avatar
Status: RESOLVED NOT A BUG
Alias: None
Product: neon
Classification: KDE Neon
Component: Packages User Edition (show other bugs)
Version: unspecified
Platform: Neon Linux
: NOR normal
Target Milestone: ---
Assignee: Neon Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-10-09 17:41 UTC by Roman Gilg
Modified: 2016-10-19 10:53 UTC (History)
10 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Roman Gilg 2016-10-09 17:41:00 UTC
Changing user avatar in user manager doesn't change user icon in sddm. It creates a file .face.icon in the home folder, but this isn't readable by sddm.

WIth info from sddm readme (https://github.com/sddm/sddm/blob/master/README.md#no-user-icon):
We should set with a script acl execute rights to the user's homefolder and acl read rights to the .face.icon file. This could be also done on creation of a new user for the default user icon (which needs first to be created here).

Reproducible: Always
Comment 1 Tony 2016-10-10 18:11:58 UTC
I can confirm this one, but i believe it is a regression. On my main system i've changed the avatar with no issues more than once a while back, now i've tried on a VM and the problem is there. 
The newly selected avatar gets display on the lock and  "leave"  screen but not sddm.
Avatars from the gallery work fine.
Comment 2 Pranav Sharma 2016-10-12 18:31:29 UTC
I also have this issue after upgrading SDDM
Comment 3 rene_kde 2016-10-12 23:05:20 UTC
Same here.
The icon changed after the latest update (5.8.1) to another default icon, but sddm still doesn't use the user-icon.

System: KDE neon User Edition
Comment 4 Jens Reuterberg 2016-10-13 09:33:45 UTC
Can confirm that it's the same on a newly installed Arch machine here.
Comment 5 David Edmundson 2016-10-13 11:17:17 UTC
UserManager will also write out your avatar to accounts service which stores the data in /var (for this very reason).

SDDM will get AccountsService support in the next release.
Comment 6 Roman Gilg 2016-10-15 11:00:12 UTC
Ok, so it should work with the next SDDM release 0.15, which should come in a few weeks or months? And which Plasma is needed? 5.8.x?
Comment 7 Roman Gilg 2016-10-15 11:16:44 UTC
There is also this bug fix for 0.14.1: https://github.com/sddm/sddm/issues/685

Is it related to the problem at hand?
Comment 8 Jonathan Riddell 2016-10-19 10:39:31 UTC
closing, seems to be an SDDM issue
Comment 9 Pranav Sharma 2016-10-19 10:49:20 UTC
What we could do is patch sddm like arch does untill the new sddm release is out.
Comment 10 Pranav Sharma 2016-10-19 10:53:32 UTC
Arch uses https://github.com/sddm/sddm/commit/ecb903e4.patch, which is already merged into sddm 0.14.1.