* Filemanager: fix change folder permissions and cli.php in minimal install

This commit is contained in:
Ralf Becker 2017-03-31 09:05:01 +02:00
parent 50d9290b38
commit d2d7040721

View File

@ -5,7 +5,7 @@
* @link http://www.egroupware.org * @link http://www.egroupware.org
* @package filemanager * @package filemanager
* @author Ralf Becker <RalfBecker-AT-outdoor-training.de> * @author Ralf Becker <RalfBecker-AT-outdoor-training.de>
* @copyright (c) 2008-16 by Ralf Becker <RalfBecker-AT-outdoor-training.de> * @copyright (c) 2008-17 by Ralf Becker <RalfBecker-AT-outdoor-training.de>
* @license http://opensource.org/licenses/gpl-license.php GPL - GNU General Public License * @license http://opensource.org/licenses/gpl-license.php GPL - GNU General Public License
* @version $Id$ * @version $Id$
*/ */
@ -1137,7 +1137,7 @@ class filemanager_ui
else else
{ {
static $name2cmd = array('uid' => 'chown','gid' => 'chgrp','perms' => 'chmod'); static $name2cmd = array('uid' => 'chown','gid' => 'chgrp','perms' => 'chmod');
$cmd = array('egw_vfs',$name2cmd[$name]); $cmd = array('EGroupware\\Api\\Vfs',$name2cmd[$name]);
$value = $name == 'perms' ? static::perms2mode($content['perms']) : $content[$name]; $value = $name == 'perms' ? static::perms2mode($content['perms']) : $content[$name];
if ($content['modify_subs']) if ($content['modify_subs'])
{ {