diff options
author | Namezero <namezero@afim.info> | 2012-05-19 22:38:19 +0300 |
---|---|---|
committer | Namezero <namezero@afim.info> | 2012-05-19 22:38:19 +0300 |
commit | ab269da35ad9a8727f30f94e3e5c9feafdbb0c36 (patch) | |
tree | 40bf7e37e8d2311e47b0d72dfb549167b6185186 /config/sshdcond | |
parent | 354c61c9d7474eb72a257c796080785e733bf24f (diff) | |
download | pfsense-packages-ab269da35ad9a8727f30f94e3e5c9feafdbb0c36.tar.gz pfsense-packages-ab269da35ad9a8727f30f94e3e5c9feafdbb0c36.tar.bz2 pfsense-packages-ab269da35ad9a8727f30f94e3e5c9feafdbb0c36.zip |
Fixed wrong call to chgrp & chown
Diffstat (limited to 'config/sshdcond')
-rw-r--r-- | config/sshdcond/sshdcond.inc | 4 |
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'); } } } |