Comment 117 for bug 1197395

Revision history for this message
In , Florian (florian-redhat-bugs) wrote :

The XDG Base Directory Specification says that the "directory MUST be owned by the user, and he MUST be the only one having read and write access to it", so the "su -" behavior is non-compliant. su isn't just passing through an existing environment variable, it's systemd's PAM module that causes this, so the fix really has to be in systemd.