GNOME Bugzilla – Bug 698328
permissions of authdir, logdir etc. in daemon/main.c and data/Makefile.am do not match
Last modified: 2018-05-24 10:51:08 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?
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.
-- 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.