[systemd-devel] [PATCH 2/2] logind: chown+chmod /run/user/$UID if mount(tmpfs) fails with EPERM
christian at iwakd.de
Tue Jan 27 10:36:53 PST 2015
Am 27.01.2015 um 19:02 schrieb Lennart Poettering:
> Merged this one too, made some changes first howver. I reworked this
> to use our chmod_and_chown() helper, and removed the bit that checks
> whether the mount point actually was a mount point after umount2(). I
> really prefer if we can just check the return value of the syscall and
> decide on that.
Looks much nicer, yes.
> Please check if this all works for you now!
Yes, works for me, directory gets created, chown/chmod is applied,
XDG_RUNTIME_DIR is set and loginctl shows the session.
More information about the systemd-devel