2

My developer believes that s3fs is changing my bucket's permissions. Is this possible? I want my bucket to be public, but it keeps reverting back to private.

Here's my fstab.

s3fs#production /mnt/production fuse use_cache=/tmp,use_rrs=1,allow_other,uid=1000,gid=1000 0 0

My developer mentioned the "-o default_acl (default="private")" option. The documentation refers to "canned acl", but I don't understand what these are.

1
  • Just an FYI, you might want to accept some answers on your previous questions. serverfault.com/faq#howtoask explains things pretty well
    – TheLQ
    Commented Dec 1, 2012 at 4:28

2 Answers 2

3

Try:

s3fs#production /mnt/production fuse use_cache=/tmp,use_rrs=1,allow_other,uid=1000,gid=1000,default_acl=public-read 0 0

I have the same problem on dynamic files (bootstrap), although static files work well once the permissions are set. But the above solutions seem to work for others.

1
0

The deciding acl is actually per file/directory on an s3 bucket, unless s3 changed a lot since I last used it there is no such thing as an object having no acl and inheriting a default. So what really needs to be configured is what acl a new object is given initially. The default acl for your intentions would probably be "public-read" not "private"

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .