CC-2918: Storage dir: Default perms should not allow world-readable
/writable/executable access at install time - done
This commit is contained in:
parent
1059cee80c
commit
efe366ad60
|
@ -162,7 +162,7 @@ class AirtimeInstall
|
||||||
echo "* Giving Apache permission to access $rp".PHP_EOL;
|
echo "* Giving Apache permission to access $rp".PHP_EOL;
|
||||||
$success = chgrp($rp, $CC_CONFIG["webServerUser"]);
|
$success = chgrp($rp, $CC_CONFIG["webServerUser"]);
|
||||||
$success = chown($rp, "www-data");
|
$success = chown($rp, "www-data");
|
||||||
$success = chmod($rp, 02777);
|
$success = chmod($rp, 02770);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue