免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 4462 | 回复: 6
打印 上一主题 下一主题

Solaris8下的nfs共享目录,客户端没有写权限 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2007-02-25 22:59 |只看该作者 |倒序浏览
设置/etc/dfs/dfstab文件如下:
share -F nfs -o rw /export/home/log

nfs.server服务启动

客户端:mount -t nfs -o rw /export/home/log /mmmmm

然后进行写操作,系统提示没有权限,请问该如何解决?

论坛徽章:
0
2 [报告]
发表于 2007-02-25 23:12 |只看该作者
rw only gives you to ability to change the files on nfs mount. Whether you can write to the file or not still depends on the file permission. For examle, if you have a file owned by user test1 and the permission on the file is rw by test1. If, on nfs client side, you log in as user test2 and would like to change the file, the access will be denied. Also, root user on nfs client has additional limitation on permissions.

论坛徽章:
0
3 [报告]
发表于 2007-02-27 11:18 |只看该作者
原帖由 xq10907 于 2007-2-25 22:59 发表
设置/etc/dfs/dfstab文件如下:
share -F nfs -o rw /export/home/log

nfs.server服务启动

客户端:mount -t nfs -o rw /export/home/log /mmmmm

然后进行写操作,系统提示没有权限,请问该如何解决?


share -F nfs -o root=x.x.x.x /export/home/log

论坛徽章:
0
4 [报告]
发表于 2007-03-03 22:30 |只看该作者
问题解决了,谢谢!

论坛徽章:
0
5 [报告]
发表于 2007-03-03 22:39 |只看该作者
楼上的怎么解决的?

论坛徽章:
0
6 [报告]
发表于 2007-03-13 21:40 |只看该作者
原帖由 hail 于 2007-2-27 11:18 发表


share -F nfs -o root=x.x.x.x /export/home/log



按上面说的

论坛徽章:
0
7 [报告]
发表于 2013-12-15 21:06 |只看该作者
好像smit nfs 里面有一个选项,修改nfs导出的时候不是nobody用户以root身份,是哪一个?
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP