diff options
author | Lennart Poettering <lennart@poettering.net> | 2014-07-03 16:27:57 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2014-07-03 16:28:26 +0200 |
commit | 664064d60c36e1f62c7e9177e4c7498035467e07 (patch) | |
tree | 2739b2bbd46f1e0ca461ba8372199cb70e0620c9 /src/core/namespace.c | |
parent | 002b226843e77630128da580225f9c3ef8474db2 (diff) |
namespace: make sure /tmp, /var/tmp and /dev are writable in namespaces we set up
Diffstat (limited to 'src/core/namespace.c')
-rw-r--r-- | src/core/namespace.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/namespace.c b/src/core/namespace.c index 1d0f740afa..5466b7baec 100644 --- a/src/core/namespace.c +++ b/src/core/namespace.c @@ -334,7 +334,7 @@ static int make_read_only(BindMount *m) { if (IN_SET(m->mode, INACCESSIBLE, READONLY)) r = bind_remount_recursive(m->path, true); - else if (m->mode == READWRITE) + else if (IN_SET(m->mode, READWRITE, PRIVATE_TMP, PRIVATE_VAR_TMP, PRIVATE_DEV)) r = bind_remount_recursive(m->path, false); else r = 0; |