I have a S3 bucket, and an EC2 instance.
I am programmatically uploading from my machine to S3 using code from the Amazon web site put_objec t. The files appear in the AWS S3 web interface.
I have then edited /etc/fstab
on my EC2 instance as follows.
s3fs#xxxx /home/xxxx fuse _netdev,allow_other 0 0
And the bucket appears in the file system - But the permissions is drwxr----- and the owner/group is both root. I am trying to run my own processes under a different user on EC2 and monitor these uploaded files. Uninformatively this is causing problems due to the ownership/group/file permissions and therefore unable to access these uploaded files.
Is there a way to make the owner/group some other user and also to change the permissions during performing the upload to S3.
s3fs#bucket /path -o umask=0002
should add group write and everyone read/execute to all files.