setacl --add-public does nothing if any grantee has READ

Bug #602317 reported by Scott Moser
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
s3cmd (Ubuntu)
Fix Released
Low
Unassigned

Bug Description

Binary package hint: s3cmd

$ s3cmd info s3://smoser-test-us/smoser-rename.img.manifest.xml
s3://smoser-test-us/smoser-rename.img.manifest.xml (object):
   File size: 2140
   Last mod: Thu, 01 Jul 2010 17:25:26 GMT
   MIME type: binary/octet-stream
   MD5 sum: 7d3d3d5ddde1f2d95d84907ee85b2584
   ACL: smoser16: FULL_CONTROL
   ACL: za-team: READ
   URL: http://smoser-test-us.s3.amazonaws.com/smoser-rename.img.manifest.xml

$ s3cmd setacl --verbose --acl-public s3://smoser-test-us/smoser-rename.img.manifest.xml
INFO: Applying --exclude/--include
INFO: Summary: 1 remote files to update
INFO: s3://smoser-test-us/smoser-rename.img.manifest.xml: already Public, skipping [1 of 1]

The bug is that this is not "Public", but since one ACL has 'READ' it is read as public.

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: s3cmd 0.9.9.91-1 [modified: usr/share/s3cmd/S3/S3.py usr/share/s3cmd/S3/ACL.py]
ProcVersionSignature: Ubuntu 2.6.32-22.36-generic 2.6.32.11+drm33.2
Uname: Linux 2.6.32-22-generic x86_64
Architecture: amd64
Date: Tue Jul 6 11:06:34 2010
EcryptfsInUse: Yes
InstallationMedia: Ubuntu 10.04 "Lucid Lynx" - Beta amd64 (20100318)
PackageArchitecture: all
ProcEnviron:
 PATH=(custom, user)
 LANG=en_US.utf8
 SHELL=/bin/bash
SourcePackage: s3cmd

Related branches

Revision history for this message
Scott Moser (smoser) wrote :
Revision history for this message
Scott Moser (smoser) wrote :
Scott Moser (smoser)
Changed in s3cmd (Ubuntu):
importance: Undecided → Low
status: New → Confirmed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package s3cmd - 0.9.9.91-1ubuntu1

---------------
s3cmd (0.9.9.91-1ubuntu1) maverick; urgency=low

  * fix setacl --acl-public when public (LP: #602317)
 -- Scott Moser <email address hidden> Tue, 06 Jul 2010 11:48:45 -0400

Changed in s3cmd (Ubuntu):
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.