mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-22 16:03:47 +01:00
run chown on update just on /var/lib/egroupware/*/files/sqlfs and not whole data directory, as it can have eg. network filesystem mountpoints
This commit is contained in:
parent
6b2501430e
commit
9a0876a6cf
@ -604,7 +604,7 @@ function fix_perms()
|
|||||||
// in case update changes something in filesystem
|
// in case update changes something in filesystem
|
||||||
if (file_exists($config['data_dir']) && !empty($config['webserver_user']))
|
if (file_exists($config['data_dir']) && !empty($config['webserver_user']))
|
||||||
{
|
{
|
||||||
system('/bin/chown -R '.$config['webserver_user'].' '.$config['data_dir']);
|
system('/bin/chown -R '.$config['webserver_user'].' '.$config['data_dir'].'/*/files/sqlfs');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user