Index: branches/5.2.x/tools/fix_perms.sh =================================================================== diff -u -N -r14244 -r15708 --- branches/5.2.x/tools/fix_perms.sh (.../fix_perms.sh) (revision 14244) +++ branches/5.2.x/tools/fix_perms.sh (.../fix_perms.sh) (revision 15708) @@ -1,4 +1,5 @@ -touch ../system/config.php +#!/bin/sh +FULL_PATH=`cd $(dirname $0)/..; pwd` -chmod -R 777 ../system - +touch "$FULL_PATH/system/config.php" +chmod -R 777 "$FULL_PATH/system" \ No newline at end of file