summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2009-06-13 21:12:50 +0100
committerRoy Marples <roy@marples.name>2009-06-13 21:12:50 +0100
commitfbb78022f973361a60861cf4b99dda91ccfc1aa5 (patch)
tree5fc2cff3b8a8c88ec47de322cd3694cf9f58d94c
parent79b24f5b7978c6ccc00189c261901cf2c416bd94 (diff)
downloadopenrc-fbb78022f973361a60861cf4b99dda91ccfc1aa5.tar.gz
openrc-fbb78022f973361a60861cf4b99dda91ccfc1aa5.tar.bz2
openrc-fbb78022f973361a60861cf4b99dda91ccfc1aa5.tar.xz
Ensure that tmp dirs are +rw as well as +t.
-rw-r--r--init.d/bootmisc.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/init.d/bootmisc.in b/init.d/bootmisc.in
index 520746f..a6dcd22 100644
--- a/init.d/bootmisc.in
+++ b/init.d/bootmisc.in
@@ -26,7 +26,7 @@ cleanup_tmp_dir()
mkdir -p "$dir" || return $?
fi
dir_writeable "$dir" || return 1
- chmod +t "$dir"
+ chmod a+rwt "$dir"
cd "$dir"
if yesno $wipe_tmp; then
ebegin "Wiping $dir directory"