Redhat nfs exports文件映射用户

BSD上的格式一般这样的:
/usr/local/nfs -mapall=www:www 192.168.0.0/24

但是在Redhat上则需要写成这样:
/usr/local/nfs 192.168.0.0/24(rw,all_squash,anonuid=80,anongid=80)

上面的方法,能把nfs写入的文件都映射到www用户,很多时候很有用的 :)

Category: Linux / BSD  Tags:
You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.
2 Responses
  1. samya says:

    Hi, this is a comment.
    To delete a comment, just log in and view the post’s comments. There you will have the option to edit or delete them.

  2. I pay a quick visit every day a few blogs and sites to read posts, but this web site provides feature based posts.
    Maglia Da Calcio Bambini 2019

Leave a Reply

Your email address will not be published. Required fields are marked *

*
To prove you're a person (not a spam script), type the security word shown in the picture. Click on the picture to hear an audio file of the word.
Anti-spam image