From 57b9c54a8334bc2b51685f35f127a7964a6fea06 Mon Sep 17 00:00:00 2001 From: Renato Botelho Date: Tue, 13 Oct 2015 12:09:01 -0300 Subject: PHP chmod() doesn't like 1777, gives it 01777 then --- src/etc/phpshellsessions/gitsync | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/etc') 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"; -- cgit v1.1