-more description in 2.1.0 upgrade script
This commit is contained in:
parent
b677d2985b
commit
07afbc77ce
|
@ -10,7 +10,9 @@ class AirtimeMiscUpgrade{
|
||||||
public static function adjustAirtimeStorPermissions($p_ini){
|
public static function adjustAirtimeStorPermissions($p_ini){
|
||||||
/* Make the read permission of Monit cfg files more strict */
|
/* Make the read permission of Monit cfg files more strict */
|
||||||
$webUser = $p_ini["general"]["web_server_user"];
|
$webUser = $p_ini["general"]["web_server_user"];
|
||||||
|
echo " * Updating /srv/airtime owner to root:$webUser".PHP_EOL;
|
||||||
exec("chown -R root:$webUser /srv/airtime");
|
exec("chown -R root:$webUser /srv/airtime");
|
||||||
|
echo " * Updating /srv/airtime permissions to 02755".PHP_EOL;
|
||||||
exec("chmod -R 2775 /srv/airtime");
|
exec("chmod -R 2775 /srv/airtime");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue