From f710a956089686dc168fe3cb8d2ebd6cb997c9ba Mon Sep 17 00:00:00 2001 From: Phil Sutter Date: Fri, 7 Jan 2011 18:21:31 +0100 Subject: base-files: change access mode of /tmp where it's created Signed-off-by: Phil Sutter --- mk/image.mk | 1 - package/base-files/Makefile | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/mk/image.mk b/mk/image.mk index 1b7178eef..c7f568c26 100644 --- a/mk/image.mk +++ b/mk/image.mk @@ -14,7 +14,6 @@ image-prepare-post: dd if=$$rng bs=512 count=1 >>${TARGET_DIR}/etc/.rnd 2>/dev/null; \ chmod 600 ${TARGET_DIR}/etc/.rnd chmod 4511 ${TARGET_DIR}/bin/busybox - chmod 1777 ${TARGET_DIR}/tmp @if [ -d ${TARGET_DIR}/usr/share/fonts/X11 ];then \ for i in $$(ls ${TARGET_DIR}/usr/share/fonts/X11/);do \ mkfontdir ${TARGET_DIR}/usr/share/fonts/X11/$${i}; \ 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 -- cgit v1.2.3