I imagine this is an issue with permissions, but I can't identify it.
When you install s3cmd you have to configure it by running s3cmd --configure
, which creates a config file at ~/.s3cfg
. I've done this for user ubuntu
. I can correctly put
and get
files using s3cmd. However, when it's called from logrotate it doesn't work for whatever reason. The problem is I don't even know where logrotate error messages are being logged to. When I manually run logrotate, it does work though!
How should I go about this? Where do I look to find the problem?