Page MenuHomeIn-Portal Phabricator

in-portal
No OneTemporary

File Metadata

Created
Tue, Feb 25, 5:42 AM

in-portal

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

Event Timeline