2009
03.13

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用户,很多时候很有用的 :)

1 comment so far

Add Your Comment
  1. 不错

*
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.
Click to hear an audio file of the anti-spam word