Ensure that tmp dirs are +rw as well as +t.

This commit is contained in:
Roy Marples 2009-06-13 21:12:50 +01:00
parent 79b24f5b79
commit fbb78022f9

View File

@ -26,7 +26,7 @@ cleanup_tmp_dir()
mkdir -p "$dir" || return $? mkdir -p "$dir" || return $?
fi fi
dir_writeable "$dir" || return 1 dir_writeable "$dir" || return 1
chmod +t "$dir" chmod a+rwt "$dir"
cd "$dir" cd "$dir"
if yesno $wipe_tmp; then if yesno $wipe_tmp; then
ebegin "Wiping $dir directory" ebegin "Wiping $dir directory"