aboutsummaryrefslogtreecommitdiffstats
path: root/config/sshdcond
diff options
context:
space:
mode:
Diffstat (limited to 'config/sshdcond')
-rw-r--r--config/sshdcond/sshdcond.inc4
1 files 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');
}
}
}