免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 5202 | 回复: 3

[GlusterFS] glusterfs的文件权限问题 [复制链接]

论坛徽章:
0
发表于 2009-04-16 17:00 |显示全部楼层
glusterfs的文件权限问题

我用这个来做web集群,通过web上传上来的文件,怎么都带T权限。导致别的前端webserver不能读取到这个文件。怎么去掉呢?
配置
volume remote1
  type protocol/client
  option transport-type tcp
  option remote-host 192.168.1.56
  option remote-subvolume brick
end-volume

volume remote2
  type protocol/client
  option transport-type tcp
  option remote-host 192.168.1.57
  option remote-subvolume brick
end-volume

volume remote3
  type protocol/client
  option transport-type tcp
  option remote-host 192.168.1.58
  option remote-subvolume brick
end-volume

volume remote-ns
type protocol/client
option transport-type tcp/client
option remote-host 192.168.1.59
option remote-subvolume brick
end-volume

volume distribute
  type cluster/distribute
  subvolumes remote1 remote2 remote3
end-volume


volume afr2
type cluster/afr
subvolumes distribute remote-ns
end-volume




volume writebehind
  type performance/write-behind
  option aggregate-size 128KB
  option window-size 1MB
  subvolumes afr2
end-volume

volume cache
  type performance/io-cache
  option cache-size 512MB
  subvolumes writebehind
end-volume

[ 本帖最后由 scyzxp 于 2009-4-16 17:32 编辑 ]

论坛徽章:
0
发表于 2009-04-16 19:37 |显示全部楼层

回复 #1 scyzxp 的帖子

如果单独从权限上分析就是要取消t 或者增加权限,或者前端web server执行者的用户组呀

论坛徽章:
0
发表于 2009-04-16 21:43 |显示全部楼层
原帖由 kns1024wh 于 2009-4-16 19:37 发表
如果单独从权限上分析就是要取消t 或者增加权限,或者前端web server执行者的用户组呀

我的所有服务器上面跑的所有服务全部都以相同的身份运行的。文件的属主和属组也是一样的,关键是增加了一个T

论坛徽章:
0
发表于 2011-04-01 21:47 |显示全部楼层
不懂
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP