summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorPhil Sutter <phil.sutter@viprinet.com>2011-01-07 18:21:31 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2011-01-10 10:42:04 +0100
commitf710a956089686dc168fe3cb8d2ebd6cb997c9ba (patch)
treef5d4e16295abd5574e7789c55d82381971b8013f /package
parentc03c4742e6bd077a7e4d4ce803a27e6e0333306a (diff)
base-files: change access mode of /tmp where it's created
Signed-off-by: Phil Sutter <phil.sutter@viprinet.com>
Diffstat (limited to 'package')
-rw-r--r--package/base-files/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/package/base-files/Makefile b/package/base-files/Makefile
index db08b8860..a78326074 100644
--- a/package/base-files/Makefile
+++ b/package/base-files/Makefile
@@ -50,6 +50,7 @@ endif
chmod 755 $(IDIR_BASE_FILES)/lib/mdev/init
chmod 600 $(IDIR_BASE_FILES)/etc/shadow
chmod 600 $(IDIR_BASE_FILES)/etc/network/interfaces
+ chmod 1777 ${IDIR_BASE_FILES}/tmp
ln -sf ../proc/mounts $(IDIR_BASE_FILES)/etc/mtab
rm -rf $(IDIR_BASE_FILES)/var
ln -sf tmp $(IDIR_BASE_FILES)/var