aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNamezero <namezero@afim.info>2012-05-19 22:38:19 +0300
committerNamezero <namezero@afim.info>2012-05-19 22:38:19 +0300
commitab269da35ad9a8727f30f94e3e5c9feafdbb0c36 (patch)
tree40bf7e37e8d2311e47b0d72dfb549167b6185186
parent354c61c9d7474eb72a257c796080785e733bf24f (diff)
downloadpfsense-packages-ab269da35ad9a8727f30f94e3e5c9feafdbb0c36.tar.gz
pfsense-packages-ab269da35ad9a8727f30f94e3e5c9feafdbb0c36.tar.bz2
pfsense-packages-ab269da35ad9a8727f30f94e3e5c9feafdbb0c36.zip
Fixed wrong call to chgrp & chown
-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');
}
}
}