On 10.11.2014 11:20, Zhang, Xiong Y wrote:
Currently when app user login automatically, system will create
/run/user/5000 directory and set XDG_RUNTIME_DIR=/run/user/5000.
If I use useradd command to create a user, this new user doesn’t have
/run/user/$UID directory, so this new user could execute many programs.
I want to know which package create /run/user/$UID directory in Tizen IVI ?
thanks

It is created by systemd as needed.

By the specification, it is created when user's first session is created for the user, and destroyed when user's last session exits.

So it is refcounted by user's sessions and thus when there are no active logins for the user, the directory shouldn't exist.

_______________________________________________
IVI mailing list
[email protected]
https://lists.tizen.org/listinfo/ivi

Reply via email to