linux nfs 无法写入,无法写入挂载点(nfs-server),获得“权限被拒绝”
root_squash — Prevents root users connected remotely from having root
privileges and assigns them the user ID for the user nfsnobody. This
effectively “squashes” the power of the remote root user to the lowest
local user,preventing unauthorized alteration of files on the remote
server. Alternatively,the no_root_squash option turns off root
squashing. To squash every remote user,including root,use the
all_squash option. To specify the user and group IDs to use with
remote users from a particular host,use the anonuid and anongid
options,respectively. In this case,a special user account can be
created for remote NFS users to share and specify
(anonuid=,anongid=),where is the
user ID number and is the group ID number.
總結(jié)
以上是生活随笔為你收集整理的linux nfs 无法写入,无法写入挂载点(nfs-server),获得“权限被拒绝”的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: linux docker nginx,C
- 下一篇: linux系统做的小游戏,2007最新