[systemd-devel] $PWD=/ in systemd --user

Léo Gillot-Lamure leo.gillot at navaati.net
Tue Jul 3 11:10:01 PDT 2012


Hi.

I'm running a user session using systemd --user and my PWD in the
session (visible, for example, when launching a xterm) is / instead of
$HOME as one would expect. That's a bit annoying.
I tried to wrap systemd --user in a script doing "cd $HOME" before
exec'ing it, but it doesn't change anything.

Have you guys using the user session noticed the same thing ?

Regards,

Léo Gillot-Lamure.



More information about the systemd-devel mailing list