mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-26 01:43:47 +01:00
try fixing error in installtion in Travis using Postgres during admin account creation
This commit is contained in:
parent
e341e2596e
commit
674db7912e
@ -47,7 +47,7 @@ class Hooks
|
|||||||
Api\Vfs::$is_root = true;
|
Api\Vfs::$is_root = true;
|
||||||
if (Api\Vfs::file_exists($dir='/home/'.$data['account_lid']) || Api\Vfs::mkdir($dir, 0700, 0))
|
if (Api\Vfs::file_exists($dir='/home/'.$data['account_lid']) || Api\Vfs::mkdir($dir, 0700, 0))
|
||||||
{
|
{
|
||||||
Api\Vfs::chown($dir,$data['account_id']);
|
Api\Vfs::chown($dir,(int)$data['account_id']);
|
||||||
Api\Vfs::chgrp($dir,0);
|
Api\Vfs::chgrp($dir,0);
|
||||||
Api\Vfs::chmod($dir,0700); // only user has access
|
Api\Vfs::chmod($dir,0700); // only user has access
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user