You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
The --acl-public canned ACL should result in non-admin users being able to read files in an admin-owned bucket. However, attempting to set it results in a returned 400. ERROR: S3 error: 400 (InvalidRequest): Invalid Request.
Attempt to set ACL, e.g.: s3cmd -c ./tests/s3cfg.local.default --access_key=******** --secret_key=******** --no-check-certificate setacl s3://versity-gwtest-bucket-one-1 --acl-public
Expected behavior
Command succeeds, and info call (e.g. s3cmd -c ./tests/s3cfg.local.luke --access_key=******** --secret_key=******** --no-check-certificate info s3://versity-gwtest-bucket-luke-four-1) afterwards shows lines similar to:
ACL: {root key}: FULL_CONTROL
ACL: anon: READ
Server Version
Version : v1.0.8
Build : bacd85c
BuildTime: 2024-11-21_05:29:52PM
Darwin Lukes-MacBook-Pro.local 23.4.0 Darwin Kernel Version 23.4.0: Fri Mar 15 00:12:25 PDT 2024; root:xnu-10063.101.17~1/RELEASE_ARM64_T6030 arm64
The text was updated successfully, but these errors were encountered:
Describe the bug
The
--acl-public
canned ACL should result in non-admin users being able to read files in an admin-owned bucket. However, attempting to set it results in a returned 400.ERROR: S3 error: 400 (InvalidRequest): Invalid Request.
To Reproduce
./versitygw --access=******* --secret=******** --region=us-east-1 --iam-dir=/Users/lukemccrone/devel/versitygw/iam --cert /Users/lukemccrone/devel/versitygw/cert.pem --key /Users/lukemccrone/devel/versitygw/versitygw.pem posix --versioning-dir /tmp/versioning /tmp/gw
s3cmd -c ./tests/s3cfg.local.default --access_key=******* --secret_key=******** --no-check-certificate mb s3://versity-gwtest-bucket-one-1
s3cmd -c ./tests/s3cfg.local.default --access_key=******** --secret_key=******** --no-check-certificate setacl s3://versity-gwtest-bucket-one-1 --acl-public
Expected behavior
Command succeeds, and info call (e.g.
s3cmd -c ./tests/s3cfg.local.luke --access_key=******** --secret_key=******** --no-check-certificate info s3://versity-gwtest-bucket-luke-four-1
) afterwards shows lines similar to:ACL: {root key}: FULL_CONTROL
ACL: anon: READ
Server Version
Version : v1.0.8
Build : bacd85c
BuildTime: 2024-11-21_05:29:52PM
Darwin Lukes-MacBook-Pro.local 23.4.0 Darwin Kernel Version 23.4.0: Fri Mar 15 00:12:25 PDT 2024; root:xnu-10063.101.17~1/RELEASE_ARM64_T6030 arm64
The text was updated successfully, but these errors were encountered: