CC-2589 : Create "organize" dir when upgrading

make owner of stor and any sub folders www-data.
This commit is contained in:
Naomi Aro 2011-07-26 11:07:25 +02:00
parent 87ac5f0a3a
commit 28ed8ca978
1 changed files with 8 additions and 8 deletions

View File

@ -152,7 +152,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, "pypo"); $success = chown($rp, "www-data");
$success = chmod($rp, 02777); $success = chmod($rp, 02777);
} }
} }