From ab269da35ad9a8727f30f94e3e5c9feafdbb0c36 Mon Sep 17 00:00:00 2001 From: Namezero Date: Sat, 19 May 2012 22:38:19 +0300 Subject: Fixed wrong call to chgrp & chown --- config/sshdcond/sshdcond.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config/sshdcond/sshdcond.inc b/config/sshdcond/sshdcond.inc index cd9d8018..2caa39cc 100644 --- a/config/sshdcond/sshdcond.inc +++ b/config/sshdcond/sshdcond.inc @@ -119,8 +119,8 @@ function sshdcond_custom_php_write_config(){ //apply file permission if option is ChrootDirectory if ($sshd['sshdoption']=="ChrootDirectory" && file_exists($sshd['sshdvalue'])){ - chown('root',$sshd['sshdvalue']); - chgrp('operator',$sshd['sshdvalue']); + chown($sshd['sshdvalue'], 'root'); + chgrp($sshd['sshdvalue'], 'operator'); } } } -- cgit v1.2.3