diff options
author | Giuseppe Scrivano <gscrivan@redhat.com> | 2019-03-14 20:32:12 +0100 |
---|---|---|
committer | Giuseppe Scrivano <gscrivan@redhat.com> | 2019-03-15 10:39:23 +0100 |
commit | 592a2fd544d550a310c7fec2357bad3a00326486 (patch) | |
tree | 583e61314f2a7dae5c096a004fb624833d8a15fc /cni | |
parent | 39859850aec4d0d3fe8bcf7804f6f02a245e2b6e (diff) | |
download | podman-592a2fd544d550a310c7fec2357bad3a00326486.tar.gz podman-592a2fd544d550a310c7fec2357bad3a00326486.tar.bz2 podman-592a2fd544d550a310c7fec2357bad3a00326486.zip |
rootless: use /tmp/libpod-rundir-$EUID for fallback
when the fallback is in place, the first user creating /tmp/user/$EUID
prevents other users for creating other directories since /tmp/user is
created with mode 0700.
Since there is no way for an unprivileged user to initialize the
/tmp/user directory correctly (we would need it to be owned by root
with the sticky bit set), let's just use /tmp/libpod-rundir-$EUID.
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
Diffstat (limited to 'cni')
0 files changed, 0 insertions, 0 deletions