summaryrefslogtreecommitdiffstats
path: root/src/etc/phpshellsessions
diff options
context:
space:
mode:
authorRenato Botelho <renato@netgate.com>2015-10-13 12:09:01 -0300
committerRenato Botelho <renato@netgate.com>2015-10-13 12:09:01 -0300
commit57b9c54a8334bc2b51685f35f127a7964a6fea06 (patch)
tree16935f41a84cd107d38bf25e57735b260cce7b48 /src/etc/phpshellsessions
parentd8a99b7bde20d877a43641f004fdbdcaf3713209 (diff)
downloadpfsense-57b9c54a8334bc2b51685f35f127a7964a6fea06.zip
pfsense-57b9c54a8334bc2b51685f35f127a7964a6fea06.tar.gz
PHP chmod() doesn't like 1777, gives it 01777 then
Diffstat (limited to 'src/etc/phpshellsessions')
-rw-r--r--src/etc/phpshellsessions/gitsync2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/etc/phpshellsessions/gitsync b/src/etc/phpshellsessions/gitsync
index 4b15649..0941404 100644
--- a/src/etc/phpshellsessions/gitsync
+++ b/src/etc/phpshellsessions/gitsync
@@ -324,7 +324,7 @@ exec("mkdir -p /tmp/lighttpd/cache/compress/");
@unlink("{$CODIR}/pfSenseGITREPO/pfSenseGITREPO/src/root/.tcshrc");
exec("rm -rf {$CODIR}/pfSenseGITREPO/pfSenseGITREPO/src/conf*");
exec("rm -rf {$CODIR}/pfSenseGITREPO/pfSenseGITREPO/src/cf 2>/dev/null");
-@chmod("{$CODIR}/pfSenseGITREPO/pfSenseGITREPO/src/tmp", 1777)
+@chmod("{$CODIR}/pfSenseGITREPO/pfSenseGITREPO/src/tmp", 01777)
echo "===> Installing new files...\n";
OpenPOWER on IntegriCloud