diff options
author | Peter Korsgaard <peter@korsgaard.com> | 2014-02-21 22:30:24 +0100 |
---|---|---|
committer | Peter Korsgaard <peter@korsgaard.com> | 2014-02-21 22:30:24 +0100 |
commit | a1451719dfca5b40619b396b01da5fbddb65ba32 (patch) | |
tree | d1a30797eccfd0057e4f2640772fa9524c66d6e1 | |
parent | b57b69cd65a0f8cb4031267b3ee8a1cf21909ea6 (diff) | |
download | buildroot-a1451719dfca5b40619b396b01da5fbddb65ba32.tar.gz buildroot-a1451719dfca5b40619b396b01da5fbddb65ba32.zip |
skeleton: /etc/fstab: make sure /tmp is world writable and sticky
ramfs (which is used instead of tmpfs if CONFIG_SHMEM isn't enabled in the
kernel configuration), defaults to mode 0755 instead of 01777 like tmpfs
uses.
/tmp should be world writable and sticky, so explictly enforce the mode so
ramfs users gets it correct instead of relying on the defaults.
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
-rw-r--r-- | system/skeleton/etc/fstab | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/system/skeleton/etc/fstab b/system/skeleton/etc/fstab index a2f56ffa65..e000aadc36 100644 --- a/system/skeleton/etc/fstab +++ b/system/skeleton/etc/fstab @@ -5,5 +5,5 @@ proc /proc proc defaults 0 0 devpts /dev/pts devpts defaults,gid=5,mode=620 0 0 tmpfs /dev/shm tmpfs mode=0777 0 0 -tmpfs /tmp tmpfs defaults 0 0 +tmpfs /tmp tmpfs mode=1777 0 0 sysfs /sys sysfs defaults 0 0 |