Documentation   Download   Purchase  Support  FAQs   Forum   Demo 

 
Register . Profile   . Log in to check your private messages   . Log in 
Support Forums

Where is the setting for Default ACL?

 
Post new topic  Reply to topic     Amazon S3 Forum Index -> Bucket Explorer & Amazon S3 - Active Support Forum
View previous topic :: View next topic  
Author Message
mwdiers

Joined: 01 Jul 2008
Posts: 4

PostPosted: Tue Jul 01, 2008 12:18 pm    Post subject: Where is the setting for Default ACL? Reply with quote -

In the beta, there was a setting somewhere which allowed you to set the default ACL for a bucket. That setting is either gone, or I am blind.

Bucket Defaults only contains an empty list of key / value pairs, so that's no help.

The Bucket ACL is not being inherited by files that are uploaded to it. I assume that the Bucket ACL should not inherit, of course.
Back to top
View user's profile - Send private message -
Saurabh Dani
Administrator
Joined: 04 Nov 2006
Posts: 469
Location: Secaucus, NJ

PostPosted: Thu Jul 03, 2008 3:28 am    Post subject: Re: Where is the setting for Default ACL? Reply with quote -

We will make it more user friendly in the next release. There is radio button for "private" / "Public" in the Bucket Default settings. That selection is for the ACL settings. The key value pair is for default meta data that should be added to each file:

http://images.bucketexplorer.com/forumhelp/set-bucket-default-acls.png
Back to top
View user's profile - Send private message -
jasonashaw

Joined: 05 Jul 2008
Posts: 4

PostPosted: Sun Jul 06, 2008 4:21 am    Post subject: Changing permissions in bulk of files already uploaded Reply with quote -

Hi,

I didn't realize I could change the default and I uploaded several hundred thousand images that need to be changed to public read access. How can I do this? Is there a way to do it en mass on all files in the bucket?

Thanks,
Jason
Back to top
View user's profile - Send private message -
Saurabh Dani
Administrator
Joined: 04 Nov 2006
Posts: 469
Location: Secaucus, NJ

PostPosted: Sun Jul 06, 2008 6:39 am    Post subject: Re: Changing permissions in bulk of files already uploaded Reply with quote -

jasonashaw wrote:
Hi,

I didn't realize I could change the default and I uploaded several hundred thousand images that need to be changed to public read access. How can I do this? Is there a way to do it en mass on all files in the bucket?

Thanks,
Jason


You can select the Bucket and change its ACL to REad ALL. During confirmation dialog, Bucket Explorer will ask if you want to change the ACL on all files. Select "yes". This should change the ACL on Bucket & All Files in that Bucket.

Once that operation is complete, then change Bucket's ACL back to private and this time, choose "no" on the confirmation dialog to update ACL of all files.

1. I am repeating this, but Remember to change the Bucket ACL back to private, as its not a good idea to keep Bucket as Public. Bucket ACL & Object ACL are independent of each other.
2. If you have several thousand files and if the ACL update process breaks after partial update (due to network connection), try it again. During the next run, It will check ACL of all files again, but will not update them if the target ACL is same as the new ACL.
Back to top
View user's profile - Send private message -
mwdiers

Joined: 01 Jul 2008
Posts: 4

PostPosted: Sat Jul 12, 2008 5:53 pm    Post subject: Re: Where is the setting for Default ACL? Reply with quote -

Saurabh Dani wrote:
We will make it more user friendly in the next release. There is radio button for "private" / "Public" in the Bucket Default settings. That selection is for the ACL settings. The key value pair is for default meta data that should be added to each file


I'm sorry if I am being dense, but how does setting default meta-data key/value pairs have anything to do with a default ACL?

As the other gentleman here also noted, I would like to be able to set the default on a bucket so that all files uploaded to it are automatically set to Public: Read. The beta had this option. It seems to be missing from the final release.
Back to top
View user's profile - Send private message -
Saurabh Dani
Administrator
Joined: 04 Nov 2006
Posts: 469
Location: Secaucus, NJ

PostPosted: Sat Jul 12, 2008 7:02 pm    Post subject: Re: Where is the setting for Default ACL? Reply with quote -

mwdiers wrote:

I'm sorry if I am being dense, but how does setting default meta-data key/value pairs have anything to do with a default ACL?


The radio button, which says "public" / "private" at the top is for default ACL not for meta data.
Back to top
View user's profile - Send private message -
mwdiers

Joined: 01 Jul 2008
Posts: 4

PostPosted: Sat Jul 12, 2008 8:45 pm    Post subject: Re: Where is the setting for Default ACL? Reply with quote -

Saurabh Dani wrote:
The radio button, which says "public" / "private" at the top is for default ACL not for meta data.


Please bear with me.

This is what the ACL editor looks like:

filestore-augustana_us_s3_amazonaws_com / ACL.png

Now, if I select my bucket, and click Default, Edit, and then click the Public radio button, this is what I see:

filestore-augustana_us_s3_amazonaws_com / Default.png

Now the only option I have here is to click the "Add" button. This is what I get:

filestore-augustana_us_s3_amazonaws_com / add.png

As you can see, there are no Default ACL settings here at all. There are only default custom headers.

So I beg your forgiveness for being slow-witted, but how, in this dialog box, am I able to set a default ACL so that files uploaded to the bucket will automatically have their All Users: Read bit set?
Back to top
View user's profile - Send private message -
mwdiers

Joined: 01 Jul 2008
Posts: 4

PostPosted: Sat Jul 12, 2008 8:49 pm    Post subject: Re: Where is the setting for Default ACL? Reply with quote -

Saurabh Dani wrote:
mwdiers wrote:

I'm sorry if I am being dense, but how does setting default meta-data key/value pairs have anything to do with a default ACL?


The radio button, which says "public" / "private" at the top is for default ACL not for meta data.


Sorry! Nevermind. I finally understand! Click Public, then click Save, and that sets the default ACL to be public.

I had assumed that the radio button was allowing one to set two different meta-data lists, one for files that were private, and one for files that were public.

I told you I was very dense.
Back to top
View user's profile - Send private message -
Saurabh Dani
Administrator
Joined: 04 Nov 2006
Posts: 469
Location: Secaucus, NJ

PostPosted: Sat Jul 12, 2008 9:40 pm    Post subject: Re: Where is the setting for Default ACL? Reply with quote -

mwdiers wrote:
I told you I was very dense.


I do agree that the defaut bucket interface is confusing. We will fix it soon to make it more user friendly.
Back to top
View user's profile - Send private message -
Saurabh Dani
Administrator
Joined: 04 Nov 2006
Posts: 469
Location: Secaucus, NJ

PostPosted: Sat Jul 12, 2008 9:43 pm    Post subject: Re: Where is the setting for Default ACL? Reply with quote -

BTW - I see that the Bukcet is "Read All". You don't need to set bucket as Read All for using S3 for Web hosting. Ony files in that bucket need to be read all. If you make the bucket itself as "read all", then anyone can list the contents of that bucket, which is not a good idea.
Back to top
View user's profile - Send private message -
Display posts from previous:   
Post new topic  Reply to topic     Amazon S3 Forum Index -> Bucket Explorer & Amazon S3 - Active Support Forum All times are GMT - 5 Hours
Page 1 of 1
 
Jump to:  
You can post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group, theme subLite