tnewman / dray

A cloud native SFTP server designed to support multiple data storage backends, starting with S3.
Apache License 2.0
11 stars 0 forks source link

Home Directory Permission Error #19

Open tnewman opened 1 year ago

tnewman commented 1 year ago

When using WinSCP, the client will receive a permission error trying to lstat the home directory.

[2022-12-30T16:33:49Z INFO  dray::sftp_session] Received request: Realpath(Path { id: 3856, path: "/home/tnewman/.." })
[2022-12-30T16:33:49Z INFO  dray::sftp_session] Sending response: Name(Name { id: 3856, files: [File { file_name: "/home", file_attributes: FileAttributes { size: None, uid: None, gid: None, permissions: Some(16895), atime: None, mtime: None } }] })
[2022-12-30T16:33:49Z INFO  dray::sftp_session] Received request: Lstat(Path { id: 4103, path: "/home" })
[2022-12-30T16:33:49Z ERROR dray::sftp_session] Received error while processing request: Permission denied.
[2022-12-30T16:33:49Z INFO  dray::sftp_session] Sending response: Status(Status { id: 4103, status_code: PermissionDenied, error_message: "The client has insufficient privileges to perform the requested operation." })