Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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.

share|improve this question
    
Just an FYI, you might want to accept some answers on your previous questions. serverfault.com/faq#howtoask explains things pretty well –  TheLQ Dec 1 '12 at 4:28

2 Answers 2

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.

share|improve this answer
    
If that doesn't help, this might persistent public permission for S3 mount –  George Aug 7 '13 at 4:14

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"

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.