Bug#339965: gdm: Complaining of wrong permissions on .dmrc

Tim Van Holder tim.vanholder at anubex.com
Mon Jan 23 15:33:02 UTC 2006


Looking at the source code, setting RelaxPermissions to 1 in the
[security] section of gdm.conf avoids the message too, and it's
a more acceptable solution in my case. So as far as I'm concerned,
this issue ceases to be of any real concern.

Still to be looked at however are:
- (minor) the small typo (should -> sould, in daemon/slave.c)
- (debian-specific) since debian makes homes group-writable
  by default (with a specific group for every user), whether
  or not it makes sense to ship the debian gdm package with
  a gdm.conf that has RelaxPermissions set to 1

Alternatively, the gdm sources could be patched for debian;
instead of using the gdm_file_check() function (which checks
both file and directory), the gdm_auth_file_check() function
could be used (it only checks the file (although it has slightly
different semantics, so it may not be applicable to .dmrc)).






More information about the Pkg-gnome-maintainers mailing list