mirror of
https://github.com/drakkan/sftpgo.git
synced 2025-12-07 14:50:55 +03:00
sftpd: document chmod/chown on Windows
chmod is partially supported and chown is not supported on Windows. Skip unsupported test cases on Windows
This commit is contained in:
@@ -229,7 +229,7 @@ func (c Connection) Filelist(request *sftp.Request) (sftp.ListerAt, error) {
|
||||
return nil, sftp.ErrSSHFxPermissionDenied
|
||||
}
|
||||
|
||||
c.Log(logger.LevelDebug, logSender, "requested Stat for file: %#v", p)
|
||||
c.Log(logger.LevelDebug, logSender, "requested stat for file: %#v", p)
|
||||
s, err := os.Stat(p)
|
||||
if err != nil {
|
||||
c.Log(logger.LevelWarn, logSender, "error running Stat on file: %#v", err)
|
||||
|
||||
Reference in New Issue
Block a user