Index: branches/5.3.x/tools/fix_perms.sh =================================================================== diff -u -N -r15483 -r15902 --- branches/5.3.x/tools/fix_perms.sh (.../fix_perms.sh) (revision 15483) +++ branches/5.3.x/tools/fix_perms.sh (.../fix_perms.sh) (revision 15902) @@ -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