s3fs变更用户所有权装桶 [英] Change user ownership of s3fs mounted buckets

查看:327
本文介绍了s3fs变更用户所有权装桶的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我怎么能修改用户:一个s3fs装桶组所有权

how can I modify the user:group ownership of a s3fs mounted bucket?

我有一个混帐安装,我会基本上是想在我的亚马逊S3帐户存储在一个桶里,然后用Sparkleshare,通过我的虚拟主机,同步这些数据进行的跨多台机器。

I have a git installation that I would essentially like to store on my Amazon S3 account in a bucket, and then using Sparkleshare, via my web host, sync this data accross multiple machines.

- 我已经设置了sparkleshare成功同步三台机器。工程就像一个魅力。

  • 这是同步到一个文件夹中的/ home / git的/ Dropbox的有没有问题。
  • 我要同步的文件夹给我安装的S3存储桶,虽然
  • 我可以装入水桶旁边的Dropbox的文件夹,但没有爱更改所有权与git:git的

问题:当您创建的安装具有root:root用户,只有用户有权访问桶

Problem: when you create the mount with root:root user, only that user has access to the bucket.

我试图创建安装与S3FS登录的GIT用户,但没有运气,但它仍然装入并分配权限作为根:root用户

I tried to create the mount with S3FS logged in as the GIT user, but no luck, it still mounts and assigns permissions as the root:root user.

我卸载使用GIT用户S3FS和重新安装?

Do I uninstall S3FS and re-install using the GIT user?

任何帮助将是很大的AP preciated!

Any help would be greatly appreciated!

里克

推荐答案

在Ubuntu的我发现,无论用户是否在s3fs安装将拥有它,即使LS将显示所有者根:根,而事实上根本不能用它。当你做了安装的git的用户你肯定写不出来呢?

On Ubuntu I am finding that whichever user does the s3fs mount will own it, even though ls will show the owner as root:root, and in fact root cannot use it. When you did the mount as the git user are you sure you could not write to it?

这篇关于s3fs变更用户所有权装桶的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆