-
Notifications
You must be signed in to change notification settings - Fork 25
Closed
Milestone
Description
Task Description
When using S3FS as a file system for Mina SFTP, it's not possible to change the directory (cd
command):
sftp> ls -l
d--------- 1 OWNER@ GROUP@ 0 Jan 25 10:51 bar
d--------- 1 OWNER@ GROUP@ 0 Jan 25 10:42 foo
sftp> cd foo
Can't change directory: Can't check target
POSIX permissions are not being returned for these directories, which is causing an exception in the SFTP client when attempting to cd
to the directory.
Tasks
The following tasks will need to be carried out:
- When getting S3 Posix File Attributes in
S3Utils
, if the path is a directory, obtain the bucket ACL, then obtain its ACL grant permissions, convert them to Posix file permissions and return them with the response.
Useful Links
- Upplication/Amazon-S3-FileSystem-NIO2#94 : Unable to change directories when exposed via Mina SFTP
Help
- Our chat channel
- Points of contact:
carlspring