sftpgo-mirror/sftpd
Nicola Murino ae812e55af sftpd: explicitly disallow some commands on root directory
It was possible to remove an empty root dir or create a symlink to it.
We now return a Permission Denied error if we detect an attempt to remove,
renaming or symlinking the root directory
2019-12-25 23:37:37 +01:00
..
cmd_unix.go add support for Git over SSH 2019-11-26 22:26:42 +01:00
cmd_windows.go add support for Git over SSH 2019-11-26 22:26:42 +01:00
handler.go sftpd: explicitly disallow some commands on root directory 2019-12-25 23:37:37 +01:00
internal_test.go add per directory permissions 2019-12-25 18:20:19 +01:00
lister.go Improve documentation 2019-07-30 20:51:29 +02:00
scp.go add per directory permissions 2019-12-25 18:20:19 +01:00
server.go sftpd: add support for some SSH commands 2019-11-18 23:30:37 +01:00
sftpd.go add rsync support ... 2019-11-29 15:24:56 +01:00
sftpd_test.go sftpd: explicitly disallow some commands on root directory 2019-12-25 23:37:37 +01:00
ssh_cmd.go add per directory permissions 2019-12-25 18:20:19 +01:00
transfer.go add support for Git over SSH 2019-11-26 22:26:42 +01:00