From 86db0188fa5295f2d06ffd503071751194b793e1 Mon Sep 17 00:00:00 2001 From: jow Date: Sun, 1 Jul 2012 11:48:54 +0000 Subject: include/image.mk: /tmp should have mode 1777 On the off chance that the root filesystem's /tmp is used directly as a temporary directory instead of having a tmpfs mounted over it, it should have the sticky bit set. Signed-off-by: Mark Mentovai git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32572 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- include/image.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/image.mk') diff --git a/include/image.mk b/include/image.mk index b0d6dfae6..1977fc84c 100644 --- a/include/image.mk +++ b/include/image.mk @@ -146,7 +146,7 @@ define Image/mkfs/prepare/default - $(FIND) $(TARGET_DIR) -type f -perm +0100 -print0 | $(XARGS) -0 chmod u+rwx,g+rx,o+rx - $(FIND) $(TARGET_DIR) -type d -print0 | $(XARGS) -0 chmod u+rwx,g+rx,o+rx $(INSTALL_DIR) $(TARGET_DIR)/tmp - chmod 0777 $(TARGET_DIR)/tmp + chmod 1777 $(TARGET_DIR)/tmp endef define Image/mkfs/prepare -- cgit v1.2.3