summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-04-06 21:55:39 +0200
committerLennart Poettering <lennart@poettering.net>2010-04-06 21:55:39 +0200
commit055ba4d60e9539d5ec7cc66cc7a7ea3c0ce93679 (patch)
treee5bf88929bd5609eb566c7022a61ac89374f698f
parent0398f3da3c93c6dc61eb374211a7f2bbb7d422f8 (diff)
mount-setup: set default modes when mounting
-rw-r--r--mount-setup.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/mount-setup.c b/mount-setup.c
index 5a2e89af7c..12605ebb4d 100644
--- a/mount-setup.c
+++ b/mount-setup.c
@@ -39,12 +39,12 @@ enum {
};
static const char *table[] = {
- "/proc", "/proc", "proc", "rw",
- "/sys", "/sys", "sysfs", "rw",
- "udev", "/dev", "devtmpfs", "rw",
- "tmpfs", "/dev/shm", "tmpfs", "rw",
- "devpts", "/dev/pts", "devpts", "rw",
- "cgroup", "/cgroup/debug", "cgroup", "debug",
+ "proc", "/proc", "proc", "rw",
+ "sysfs", "/sys", "sysfs", "rw",
+ "devtmps", "/dev", "devtmpfs", "mode=755",
+ "tmpfs", "/dev/shm", "tmpfs", "mode=1777",
+ "devpts", "/dev/pts", "devpts", "rw",
+ "cgroup", "/cgroup/debug", "cgroup", "debug",
NULL
};