diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2012-07-01 11:48:54 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2012-07-01 11:48:54 +0000 |
commit | deff2382d0319d08836827e211d667c62921f3c3 (patch) | |
tree | 6f742025f7c5f5d3f8aedff37e87eb0283dd82d7 /include | |
parent | faab751760e9648a19e26bc8b938ffc06440b4a7 (diff) | |
download | master-31e0f0ae-deff2382d0319d08836827e211d667c62921f3c3.tar.gz master-31e0f0ae-deff2382d0319d08836827e211d667c62921f3c3.tar.bz2 master-31e0f0ae-deff2382d0319d08836827e211d667c62921f3c3.zip |
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>
SVN-Revision: 32572
Diffstat (limited to 'include')
-rw-r--r-- | include/image.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/image.mk b/include/image.mk index b0d6dfae61..1977fc84c0 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 |