Project

General

Profile

Actions

Bug #13261

closed

Object ACLs are not preserved on PUT

Added by Brian Felton over 8 years ago. Updated over 8 years ago.

Status:
Rejected
Priority:
Normal
Assignee:
-
Target version:
-
% Done:

0%

Source:
other
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
rgw
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

When an object in Ceph is updated, its ACL is reset to private.

To reproduce:

dd if=/dev/urandom of=1M_random bs=1M count=1

s3cmd put 1M_random s3://beers/1M_random

curl -q beers.canada.os.ctl.io/1M_random | xmllint --format -
<?xml version="1.0" encoding="UTF-8"?>
<Error>
  <Code>AccessDenied</Code>
</Error>

s3cmd setacl s3://beers/1M_random -P
s3://beers/1M_random: ACL set to Public  [1 of 1]

curl -q beers.canada.os.ctl.io/1M_random -o stuff
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 1024k  100 1024k    0     0   235k      0  0:00:04  0:00:04 --:--:--  247k

s3cmd put stuff s3://beers/1M_random
stuff -> s3://beers/1M_random  [1 of 1]
 1048581 of 1048581   100% in    2s   453.30 kB/s  done

curl -q beers.canada.os.ctl.io/1M_random | xmllint --format -
<?xml version="1.0" encoding="UTF-8"?>
<Error>
  <Code>AccessDenied</Code>
</Error>

Actions #1

Updated by Brian Felton over 8 years ago

On second thought, this seems to be functioning as designed. Please close/delete.

Actions #2

Updated by Yehuda Sadeh over 8 years ago

object ACLs are not supposed to be preserved on overwrite

Actions #3

Updated by Yehuda Sadeh over 8 years ago

  • Status changed from New to Rejected
Actions

Also available in: Atom PDF