mirror of
https://github.com/atmoz/sftp.git
synced 2024-11-17 12:51:33 -05:00
Wrong command...
This commit is contained in:
parent
e74f1befb4
commit
44f295dae6
1 changed files with 3 additions and 3 deletions
|
@ -55,7 +55,7 @@ if [ ! -f "$userConfFinalPath" ]; then
|
|||
|
||||
if [ -n "$READONLY" ]; then
|
||||
if [ "$READONLY" = "true" ]; then
|
||||
sed 's/Subsystem sftp internal-sftp/Subsystem sftp internal-sftp -R/' "/etc/ssh/sshd_config" | tee "/etc/ssh/sshd_config"
|
||||
sed 's/ForceCommand internal-sftp/ForceCommand internal-sftp -R/' "/etc/ssh/sshd_config" | tee "/etc/ssh/sshd_config"
|
||||
fi
|
||||
fi
|
||||
|
||||
|
|
Loading…
Reference in a new issue