File servers using s3fs and samba are not available from Mac

Asked 1 years ago, Updated 1 years ago, 137 views

Could you please reply to me if there is someone who has solved the same situation?

Centos 6 environment uses s3fs to provide a server with AWS s3 mounted. I created a configuration to share the mounted directory in samba.

I can operate it without any problems when I access it with Windows. When connecting from a Mac, it may be because of the custom access rights assigned. "The folder ""~"" could not be opened because you do not have permission to view the contents"" will be displayed.

Article that there have been changes around ACLs from several previous Mac operating systems (see link) I have seen , but the file itself is from an external server, so I think it is different.

Based on the following two symptoms, it seems that permissions in the S3 directory do not work as expected when using samba.

  • Files directly under the directory that samba allows access to appear to have read/write privileges. Considering that, I feel that there is a problem with the permissions of the s3 directory.
  • When I created the directory while connected to the Mac, I was able to confirm that I had read/write permission to the directory that I created. If you mount it again, you will lose your privileges.

Also, normal samba-only access without s3 is working properly from both Windows and Mac.

Thank you for your cooperation.

macos amazon-s3 samba

2022-09-30 20:27

2 Answers

I don't use s3fs now, but I don't think the owner or permission was maintained. In addition, there is a s3ql, so I think this one can be used without any confusion in terms of UNIX and Linux.


2022-09-30 20:27

I can't prepare a similar environment, so why don't you disable NT compatible ACLs by setting nt acl support=no in smb.conf?

Also, according to the page below, unix extensions=no seems to work.


2022-09-30 20:27

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.