Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#42572 - [accountsservice] requires permission level change

Attached to Project: Arch Linux
Opened by Steven (stevenmw) - Monday, 27 October 2014, 00:58 GMT
Last edited by Bartłomiej Piotrowski (Barthalion) - Tuesday, 28 October 2014, 17:52 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Jan Alexander Steffens (heftig)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

According to the wiki in order to install accountsservice and get it up and running you do the following;

Install accountsservice package

Then the /var/lib/AccountsService folder is created and you must create two sub-folders. An icons folder and a users folder.

Then you create a file named as your username in the users folder and an icon named using your username in the icons folder.

After that the user icon should be set and you will be able to see it on the lightDM login screen.

----

However, this is not enough. In order to allow accountsservice to work properly and display the user icon the file permissions for the following must be changed.

/var/lib/AccountsService/users/<username>
/var/lib/AccountsService/icons/<username>.png

In order to allow accountsservice to work properly I've found that i must run the following comman

# chmod 755 -R /var/lib/AccountsService

----

Additional info:
* package version: 0.6.39-1

The default permissions after installing and following wiki instructions are:

The AccountsService folder permissions look like

drwxr-xr-x 4 root root 4096 Oct 26 18:42 AccountsService

The icons and users folder permissions show as:

drwxr-xr-x 2 root root 4096 Oct 26 18:42 icons
drwxr-xr-x 2 root root 4096 Oct 26 18:42 users

/var/lib/AccountsService/icons/steven.png file permissions show as:

-rw-r----- 1 root root 19899 Oct 26 18:42 /var/lib/AccountsService/icons/<username>.png

/var/lib/AccountsService/users/steven file permissions show as:

-rw-r--r-- 1 root root 108 Oct 26 18:42 /var/lib/AccountsService/users/<username>



This task depends upon

Closed by  Bartłomiej Piotrowski (Barthalion)
Tuesday, 28 October 2014, 17:52 GMT
Reason for closing:  Not a bug
Comment by Steven (stevenmw) - Monday, 27 October 2014, 01:02 GMT
I accidentally wrote out my usrrname for my computer when opening the report. I meant to post the following

/var/lib/AccountsService/icons/<username>.png file permissions show as:

/var/lib/AccountsService/users/<username> file permissions show as:
Comment by Jakub Klinkovský (lahwaacz) - Monday, 27 October 2014, 07:29 GMT
Only the user-created files are affected, the directories owned by the package have correct permissions, so I believe this is not a bug.
Comment by Doug Newgard (Scimmia) - Monday, 27 October 2014, 14:08 GMT
Yep, sounds like the wiki needs changed, not the package.
Comment by Steven (stevenmw) - Monday, 27 October 2014, 17:14 GMT
I changed the wiki and another user requested I open a bug report.
Comment by Steven (stevenmw) - Monday, 27 October 2014, 19:29 GMT
The wiki is updated, and I've requested this be closed.

Loading...