After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 698328 - permissions of authdir, logdir etc. in daemon/main.c and data/Makefile.am do not match
permissions of authdir, logdir etc. in daemon/main.c and data/Makefile.am do ...
Status: RESOLVED OBSOLETE
Product: gdm
Classification: Core
Component: general
3.8.x
Other Linux
: Normal minor
: ---
Assigned To: GDM maintainers
GDM maintainers
Depends on:
Blocks:
 
 
Reported: 2013-04-18 19:28 UTC by Matthias Dienstbier
Modified: 2018-05-24 10:51 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Matthias Dienstbier 2013-04-18 19:28:06 UTC
The permissions and owners of several directories created in data/Makefile.am do not match with the permissions and owners GDM will set at runtime. I think these should be kept in sync.

I created a table of the current permissions and owners.

AUTHDIR            gdm  gdm 0711     /var/gdm
LOGDIR             root gdm 0711     /var/log/gdm
WORKINGDIR         gdm  gdm ? (1770) /var/lib/gdm (home of gdm)
GDM_XAUTH_DIR      root gdm 0711     /var/run/gdm (GDM_RAN_ONCE_MARKER_DIR)
GDM_SCREENSHOT_DIR gdm  gdm 0755     /var/run/gdm/greeter

Relevant places in the code:

data/Makefile.am from line 279
daemon/main.c from line 186
daemon/gdm-launch-environment.c from line 457

And I cannot find any use use of GDM_CACHE_DIR (/var/cache/gdm). Is this directory still necessary?
Comment 1 Peter 2013-06-04 21:18:00 UTC
I can confirm this issue for two similiar boxes with Archlinux. The package-manager "pacman" of Archlinux checks the filesystem-permissions during updates/upgrades and print a warning about this issue.
Comment 2 GNOME Infrastructure Team 2018-05-24 10:51:08 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to GNOME's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/gdm/issues/137.