summaryrefslogtreecommitdiff
path: root/src/.gitignore
diff options
context:
space:
mode:
authorChristian Seiler <christian@iwakd.de>2015-01-27 18:58:40 +0100
committerLennart Poettering <lennart@poettering.net>2015-01-27 18:58:40 +0100
commit11c6476a08af7a8a9ae6a2d0f8370587f7b31663 (patch)
tree141141196d3c4670d6c05bed548800ab5919df22 /src/.gitignore
parent4d858e7d9f39038713f760d7acc64acf7bba2aa7 (diff)
logind: chown+chmod /run/user/$UID if mount(tmpfs) fails with EPERM
In containers without CAP_SYS_ADMIN, it is not possible to mount tmpfs (or any filesystem for that matter) on top of /run/user/$UID. Previously, logind just failed in such a situation. Now, logind will resort to chown+chmod of the directory instead. This allows logind still to work in those environments, although without the guarantees it provides (i.e. users not being able to DOS /run or other users' /run/user/$UID space) when CAP_SYS_ADMIN is available.
Diffstat (limited to 'src/.gitignore')
0 files changed, 0 insertions, 0 deletions