diff --git a/other/25/run b/other/25/run index 7b8eb7b..2bafc26 100755 --- a/other/25/run +++ b/other/25/run @@ -6,7 +6,7 @@ read FLAG < /flag read DEST < <(tr -cd "[a-z0-9/]" <<< "$1") [[ "$DEST" == /* ]] || exit 1 -OLDIFS=$IFS +OLDIFS="$IFS" IFS="/" FILE="" for FRAGMENT in $DEST @@ -20,6 +20,7 @@ do chmod 000 "$FILE" done +IFS="$OLDIFS" umask 777 touch "$DEST"