It was a permissions issue, this was the fix:
Edit the sudoers file (with visudo) and add a rule that allows the web
server user to run the command without a password. For example:
www-data ALL=NOPASSWD: /path/to/script
On 3/4/11 8:06 PM, Jason Quick wrote:
I'm pretty sure your "--" stateme
I'm pretty sure your "--" statements need to come before any other
arguments, including paths, i.e.:
/installs/s3cmd/s3cmd ls --config="/root/.s3cfg" "s3://assets.x.com/downloads/WAV/A10237"
--Jason
On 3/4/2011 10:52 PM, Grig wrote:
Hi there
I just figured this out... it was a permissions issue
On 3/4/11 7:52 PM, Grig wrote:
> Hi there,
>
> I call s3cmd from PHP a lot. Up to now I've used the put and get for
> large file transfers.
>
> I've just started working with a way to use the "ls" method, but I get
> an error I don't under
Hi there,
I call s3cmd from PHP a lot. Up to now I've used the put and get for
large file transfers.
I've just started working with a way to use the "ls" method, but I get
an error I don't understand.
This is the call I make from PHP:
/installs/s3cmd/s3cmd ls "s3://assets.x.com/downl