Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Uploads should Inherit the Bucket Default ACL #6898

Closed
cyberduck opened this issue Oct 5, 2012 · 3 comments
Closed

Uploads should Inherit the Bucket Default ACL #6898

cyberduck opened this issue Oct 5, 2012 · 3 comments
Assignees
Labels
duplicate enhancement googlestorage Google Cloud Storage Protocol Implementation
Milestone

Comments

@cyberduck
Copy link
Collaborator

Graham created the issue

Not sure if this is an enhancement or defect, so I'll let you guys make the call...

Having read through the Google information on Access Control: https://developers.google.com/storage/docs/accesscontrol

My understanding is that if you don't specific any permissions on upload, then the object should inherit the 'default ACL' specified on the bucket. But this doesn't appear to be the case for uploads in Cyberduck.

To test, I turned off everything in the Cyberduck Preferences\Transfers\Permissions by unticking both upload and download.

Then when I check the ACL on an object that been uploaded with Cyberduck, the FULL_CONTROL permission is explicitly set for my Google Storage ID.

If I repeat the same process using Google's 'gsutil', the behaviour explained in their document happens. The object gets an ACL based on the bucket's default ACL. Which, if the bucket was created with the defaults, would be the canned ACL 'project-private', which is then expanded out into the relevant permissions.

Would it be possible to have Cyberduck respect the default behaviour for uploads when no explicit permissions are applied? I.e. the uploaded object should inherit the permissions from the default ACL.

Even better (but not absolutely required), would be a section in the Preferences for 'Google Cloud Storage', where the 'canned ACLs' could be selected. I.e. Things like, 'project-private', 'private', 'public-read', etc.

(All the 'canned ACLs' and their meaning can be found from running 'gsutil help acls' - but I'm sure you know that!)

Now that would be outstanding!

@cyberduck
Copy link
Collaborator Author

@dkocher commented

The default is currently set to theprivate canned ACL.

@cyberduck
Copy link
Collaborator Author

@dkocher commented

See also #5711.

@cyberduck
Copy link
Collaborator Author

@dkocher commented

In 1dc3d8d.

@iterate-ch iterate-ch locked as resolved and limited conversation to collaborators Nov 26, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
duplicate enhancement googlestorage Google Cloud Storage Protocol Implementation
Projects
None yet
Development

No branches or pull requests

2 participants