root可写NFS目录

关键字: root, NFS, 权限

最近在挂NFS,root默认在里面没权限。因为默认会加上root_squash选项,这个选项的含义就是把客户机上的root映射为服务器端的nobody用户,所以自然就没有权限了,解决方案也很简单,加上no_root_squash即可,这个选项表示不把root映射为nobody,自然在那边就还是root了,over。

This entry was posted in 小企鹅Linux. Bookmark the permalink.

Leave a Reply

Your email address will not be published.

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>