mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-28 17:48:51 +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
ee68f41be2
commit
25570a0258
@ -604,7 +604,7 @@ function fix_perms()
|
||||
// in case update changes something in filesystem
|
||||
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