免费注册 查看新帖 |

Chinaunix

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

[Linux资讯] LINUX之间共享目录只能读,不能写为什么呢 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2013-05-13 15:27 |只看该作者 |倒序浏览
服务器 10.236.8.33 共享的目录 /gdbh/nfs
客服端10.236.8.30  需要放置的目录 /home/gdbh/nfs
一、服务端参数   
[root@gdbh833 ~]# cd /etc/
[root@gdbh833 etc]# cat exports
/gdbh/nfs 10.236.8.30 (rw,anonuid=500,anongid=500)

[gdbh@gdbh833 ~]$ ll
total 48148
drwxrwxrwx  20 gdbh gdbh_group   774144 May 10 17:27 nfs
-rw-r--r--   1 gdbh gdbh_group        0 Apr 20  2011 ps
drwxr-xr-x  54 gdbh gdbh_group     4096 May 11 23:02 sheetworkspace
[gdbh@gdbh833 ~]$ pwd
/gdbh
[gdbh@gdbh833 ~]$ id
uid=500(gdbh) gid=500(gdbh_group) groups=500(gdbh_group)
[gdbh@gdbh833 ~]$ whoami
gdbh
[gdbh@gdbh833 ~]$   

二、客户端参数
[root@localhost nfs]# showmount -e 10.236.8.33
Export list for 10.236.8.33:
/gdbh/nfs (everyone)
[root@localhost nfs]# mount
//10.236.8.98/gdbh on /share_989 type cifs (rw,mand)
10.236.8.33:/gdbh/nfs on /home/gdbh/nfs type nfs (rw,addr=10.236.8.33)
[root@localhost nfs]#



您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP