Change ownership of s3fs slaves

how can I change the user: group ownership of the installed s3fs bucket?

I have a git installation that I would like to store on my Amazon S3 account in a bucket, and then use Sparkleshare through my web host to synchronize this data across multiple machines.

- I created a candle to successfully synchronize three cars. It works like a charm.

  • This is syncing with the folder in / home / git / dropbox. There are no problems.
  • I want in my sync folder I mounted an S3 bucket though
  • I can install buckets next to this folder with Dropbox, but without the love of changing ownership on git: git

Problem: when creating a mount with the root: root user, the user gets access to the bucket.

I tried to create mount with S3FS registered as git user, but with no luck, it still mounts and assigns permissions as root: root user.

Uninstall S3FS and reinstall using git user?

Any help would be greatly appreciated!

Rick

+5
amazon-s3 bucket s3fs
source share
3 answers

In Ubuntu, I found that any user who owns the s3fs mount will own it, although ls will show the owner root: root, and in fact root cannot use it. When you made mount as a git user, are you sure you can't write it?

+2
source share

You just want to install it as this user. You can also automate it by adding the uid and gid that you want to install. For example, your / etc / fstab will have a record such as:

s3fs#s3bucketName /mnt/point fuse defaults,noatime,allow_other,uid=500,gid=48,use_cache=/tmp,default_acl=public-read 0 0 
+13
source share
0
source share

All Articles