From 2a62e73df1b130aa80aa36e1c190b5e50f98d77e Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Sat, 19 Apr 2008 09:46:02 +0000 Subject: [PATCH] added required params, to suppress warnings --- phpgwapi/inc/class.vfs_home_hooks.inc.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/phpgwapi/inc/class.vfs_home_hooks.inc.php b/phpgwapi/inc/class.vfs_home_hooks.inc.php index 0acfce07b5..2b22488c99 100644 --- a/phpgwapi/inc/class.vfs_home_hooks.inc.php +++ b/phpgwapi/inc/class.vfs_home_hooks.inc.php @@ -33,7 +33,7 @@ class vfs_home_hooks { // create a user-dir egw_vfs::$is_root = true; - egw_vfs::mkdir($dir='/home/'.$data['account_lid']); + egw_vfs::mkdir($dir='/home/'.$data['account_lid'],0700,0); egw_vfs::chown($dir,$data['account_id']); egw_vfs::chgrp($dir,0); egw_vfs::chmod($dir,0700); // only user has access @@ -96,7 +96,7 @@ class vfs_home_hooks { // create a group-dir egw_vfs::$is_root = true; - egw_vfs::mkdir($dir='/home/'.$data['account_name']); + egw_vfs::mkdir($dir='/home/'.$data['account_name'],070,0); egw_vfs::chown($dir,0); egw_vfs::chgrp($dir,$data['account_id']); egw_vfs::chmod($dir,0070); // only group has access