Mark Atwood (fallenpegasus) wrote,
Mark Atwood
fallenpegasus

Have s3getacl working

Things are always harder and take longer.

I have s3getacl working and documented.

 $ ./s3getacl example
# bucket: example
# owner: 5a1568e09392dad4b4ceb54f29f0a64d651a531350d6f720fbd2367eed995f08
OWNER:FULL_CONTROL
a00490decea9d0ad76e5ef8b450b3efa63861adccfb9197cfb42f837eb222df2:WRITE
USERS:READ
WORLD:READ
$ ./s3getacl example/thingee
# bucket: example
# item: thingee
# owner: 5a1568e09392dad4b4ceb54f29f0a64d651a531350d6f720fbd2367eed995f08
OWNER:FULL_CONTROL
$ _


It uses Perl's XML::Simple. I'm thinking I'm going to need a more sophisticated Perl XML module to write the next step, s3setacl. If I do, I'll probably go back and change s3getacl to use it too.

I'm going to push this all up to my mercerial reposatory soon, for other people to use.
Tags: aws, geek, perl, s3
Subscribe

  • Mark Atwood speaking at Ignite OSCON 2010

    Mark Atwood speaking at Ignite OSCON 2010 Originally uploaded by O'Reilly Conferences This entry was originally posted at…

  • At LCA2010

    Wellington, January 2010, originally uploaded by datacharmer. Giuseppe caught me when I looked focused and concerned about something. I have…

  • At the Drizzle Developers Conference

    The Drizzle Developers, hard at work DSC_0129, originally uploaded by krow. The Drizzle Developers, hard at work, thinking about Burning…

  • Post a new comment

    Error

    Comments allowed for friends only

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 2 comments