From 055ba4d60e9539d5ec7cc66cc7a7ea3c0ce93679 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Tue, 6 Apr 2010 21:55:39 +0200 Subject: [PATCH] mount-setup: set default modes when mounting --- mount-setup.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/mount-setup.c b/mount-setup.c index 5a2e89af..12605ebb 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 }; -- 2.39.5