[systemd-devel] pam: Don't use loginuid [was: Re: Fix PAM module to not clobber XDG_RUNTIME_DIR with su]

Colin Walters walters at verbum.org
Wed Nov 20 09:34:12 PST 2013


On Tue, 2013-11-19 at 22:38 +0000, Colin Guthrie wrote:
> 'Twas brillig, and Colin Walters at 19/11/13 18:13 did gyre and gimble:
> > +d /run/user/0 0755 root root 10d
> 
> This should probably be 0700 like the runtime dirs usually are I think.

Ooops =/  Fixed!

> Also won't this folder be naturally reaped in user_finalize() in
> login/logind-user.c:

Good point.  Should be fixed by this updated patch.  Thanks for the
careful review!

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-login-Use-correct-XDG_RUNTIME_DIR-for-uid-0-with-pke.patch
Type: text/x-patch
Size: 7999 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/systemd-devel/attachments/20131120/fdf23967/attachment.bin>


More information about the systemd-devel mailing list