
Net::sftp::sftpserver is a perl port of sftp-server from openssh providing access control on a per user and per command basis with improved logging via syslog.
the limitations compared with the openssh implementation are as follows:
- only files and directories are dealt with - other inode types are not
returned on readdir.
- a virtual chroot is performed - / (rootfs) is treated as the users home
directory from the client perspective and all file access to / will
be in /
/. the is defined on object
initialisation, it is not obtained from /etc/passwd.
- all symlinked files or directories can be hidden and made inaccessible on
request. symlink returns "permission denied" then, readlink returns "file
does not exist".
- setting of stats (set_stat or set_fstat) is disabled - the client will
receive permission denied.
- permissions for files and dirs are defaulted - the defaults are set on
object initialisation.