- I have a S3 bucket on one of my aws acc.
- I am uploading files to the bucket using s3cmd interface.
I mounted the s3 bucket to an ubuntu ec2 instance using s3fs and I successfully accomplished it and able to list the on my ec2 instance.
s3fs command - s3fs XXXXXX-ouse_cache=/tmp/s3cache -oallow_other -opasswd_file=/etc/passwd-s3fs -ourl=http://s3.amazonaws.com -odefault_acl=public-read-write /mnt/XXXXXXXX
Installed apache2 on ec2. Changed the document directory to the path mounted s3 path - /mnt/XXXXXXXX . I have successfully configured the same and restarted the apache2 service.
But, I when I try to access the S3 files using apache2, I get "Forbidden You don't have permission to access /temp/xxxxTesting.flv on this server."
can anyone help me with this issue. Any possible reasons for this issue. I tried all the suggestions, but all in vain. Pls, someone guide me on how to resolve this issue?