Permissions of files with s3fs

February 17, 2018 482 views
Block Storage Debian
edu84
By:
edu84

Hi, I'm using s3fs to access from debian as a mount point

s3fs#mydisk /media/digital fuse allowother,netdev,nosuid,nodev,url=https://ams3.digitaloceanspaces.com 0 0

But every file that I put in that directory is uploaded with private permissions.

I would like the permit to be public.

Now I have to change in cloud.digitalocean.com/ the permissions manually.

Some way of doing it automatically, and that every file that I put in the assembly point goes with public permission?

1 Answer

Solved like this

s3fs#mydisk /media/digital fuse allowother,netdev,nosuid,nodev,default_acl=public-read,url=https://ams3.digitaloceanspaces.com 0 0

Have another answer? Share your knowledge.