mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-27 17:55:55 +02:00
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 <mark@moxienet.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32572 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
8b203dc527
commit
86db0188fa
@ -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 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
|
- $(FIND) $(TARGET_DIR) -type d -print0 | $(XARGS) -0 chmod u+rwx,g+rx,o+rx
|
||||||
$(INSTALL_DIR) $(TARGET_DIR)/tmp
|
$(INSTALL_DIR) $(TARGET_DIR)/tmp
|
||||||
chmod 0777 $(TARGET_DIR)/tmp
|
chmod 1777 $(TARGET_DIR)/tmp
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Image/mkfs/prepare
|
define Image/mkfs/prepare
|
||||||
|
Loading…
Reference in New Issue
Block a user