Skip to content
Snippets Groups Projects
Commit deff2382 authored by Jo-Philipp Wich's avatar Jo-Philipp Wich
Browse files

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: default avatarMark Mentovai <mark@moxienet.com>

SVN-Revision: 32572
parent faab7517
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment