mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-22 07:53:39 +01:00
* LDAP/AD/UCS/Filemanager: new created groups home-directory was not displayed in filemanager
This commit is contained in:
parent
ff507682eb
commit
0e6c4cdde6
@ -563,7 +563,10 @@ class accounts
|
||||
$this->set_memberships($memberships, $id); // invalidates cache for account_id and primary group
|
||||
}
|
||||
}
|
||||
self::cache_invalidate($data['account_id']);
|
||||
// as some backends set (group-)members in save, we need to invalidate their members too!
|
||||
$invalidate = isset($data['account_members']) ? $data['account_members'] : array();
|
||||
$invalidate[] = $data['account_id'];
|
||||
self::cache_invalidate($invalidate);
|
||||
|
||||
return $id;
|
||||
}
|
||||
|
@ -120,7 +120,7 @@ class vfs_home_hooks
|
||||
if (egw_vfs::mkdir($dir='/home/'.$data['account_lid'],0070,0))
|
||||
{
|
||||
egw_vfs::chown($dir,0);
|
||||
egw_vfs::chgrp($dir,$data['account_id']);
|
||||
egw_vfs::chgrp($dir,abs($data['account_id'])); // gid in Vfs is positiv!
|
||||
egw_vfs::chmod($dir,0070); // only group has access
|
||||
}
|
||||
egw_vfs::$is_root = false;
|
||||
|
Loading…
Reference in New Issue
Block a user