nfs is a big problem
I have 2 linux machines , i wanna to share my files using nfs but i m getting some problems
X1 : 192.168.7.132
x2 : 192.168.7.133
Assume i m logging on both machine as a root admin
On machine X1 my etc/exports files has the following settings
bravo is my user name and testnfs is a folder in it
now my other machine X2
when i apply following mount command on my machine X2 it give me error
Reason give by server : permisson denied
mount 192.168.7.132:/home/bravo/nfstest /home/charlie/nfstest
charlie is my user on machine X2 and a folder nfstest is also exist in its home directory.
Is there any help.
waiting for your positive reply
x1 must allow x2's ip so your exports line should be
in x1 /etc/exports
Thanks for replying,
i changed my export file but it again showing me the same error.
What Distro are you running? SuSE does a reverse lookup before it will allow mounting. So there must be a host or DNS entry. RH/FC does not
On X1 bravo has a user# uid and a group# gid which are probably different from the uid/gid s of Charlie on X2. The issue really isn't with nfs but your basic file permissions and where you are trying to mount the common directory.
Very good, nfs works better under a nis or ldap authentication process where all users are located centrally
If you go and change UID's on your systems, don't forget that the file ownerships will change too so you will need to do a chown.
|All times are GMT -5. The time now is 01:33 PM.|