Chinaunix

标题: Solaris8下的nfs共享目录,客户端没有写权限 [打印本页]

作者: xq10907    时间: 2007-02-25 22:59
标题: Solaris8下的nfs共享目录,客户端没有写权限
设置/etc/dfs/dfstab文件如下:
share -F nfs -o rw /export/home/log

nfs.server服务启动

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

然后进行写操作,系统提示没有权限,请问该如何解决?
作者: briangao    时间: 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.
作者: hail    时间: 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
作者: xq10907    时间: 2007-03-03 22:30
问题解决了,谢谢!
作者: 超级计算机    时间: 2007-03-03 22:39
楼上的怎么解决的?
作者: xq10907    时间: 2007-03-13 21:40
原帖由 hail 于 2007-2-27 11:18 发表


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



按上面说的
作者: 红页码    时间: 2013-12-15 21:06
好像smit nfs 里面有一个选项,修改nfs导出的时候不是nobody用户以root身份,是哪一个?




欢迎光临 Chinaunix (http://bbs.chinaunix.net/) Powered by Discuz! X3.2