Strange problem with s3sync.
$ ./s3cmd.rb --ssl listbuckets
Drop1
Drop2
$./s3ync.rb -r --ssl /Drop1/ mybucket:/Drop1
S3 command failed:
list_bucket max-keys 200 prefix /Drop1 delimiter /
With result 403 Forbidden
S3 ERROR: #<Net::HTTPForbidden:0x50f208>
./s3sync.rb:286:in `+': can't convert nil into Array (TypeError)
from ./s3sync.rb:286:in `s3TreeRecurse'
from ./s3sync.rb:342:in `main'
from ./thread_generator.rb:79:in `call'
from ./thread_generator.rb:79:in `initialize'
from ./thread_generator.rb:76:in `new'
from ./thread_generator.rb:76:in `initialize'
from ./s3sync.rb:263:in `new'
from ./s3sync.rb:263:in `main'
from ./s3sync.rb:721
The obvious being bad credentials but the s3cmd works fine. If I export the credentials and remove the .yml file the error remains the same and s3cmd still works properly.
Any ideas?