brendan-amex
asked on
Bad NFS Permissions on a Share - CentOS 6.2
I created an NFS share on CentOS 6.2 and for the most part it works great. I share a file out from ServerA to ServerB and I can view them on both. The only problem is that on ServerB, the permissions are screwed up and the file is read-only, even if I create the file on ServerB. Here is what I see when I run ls -al on the share:
ServerB:
-rw-r--r--. 1 4294967294 4294967294 7 Sep 11 07:41 test2.txt
-rw-r--r--. 1 4294967294 4294967294 7 Sep 11 07:56 test3.txt
-rw-r--r--. 1 4294967294 4294967294 7 Sep 11 07:49 test.html
ServerA:
-rw-r--r--. 1 nfsnobody nfsnobody 7 Sep 11 07:41 test2.txt
-rw-r--r--. 1 nfsnobody nfsnobody 7 Sep 11 07:56 test3.txt
-rw-r--r--. 1 nfsnobody nfsnobody 7 Sep 11 07:49 test.html
Any help is greatly appreciated!
Also - my etc/exports file shows "/var/share *(rw,sync,all_squash)" and I restarted NFS service afterwards.
ServerB:
-rw-r--r--. 1 4294967294 4294967294 7 Sep 11 07:41 test2.txt
-rw-r--r--. 1 4294967294 4294967294 7 Sep 11 07:56 test3.txt
-rw-r--r--. 1 4294967294 4294967294 7 Sep 11 07:49 test.html
ServerA:
-rw-r--r--. 1 nfsnobody nfsnobody 7 Sep 11 07:41 test2.txt
-rw-r--r--. 1 nfsnobody nfsnobody 7 Sep 11 07:56 test3.txt
-rw-r--r--. 1 nfsnobody nfsnobody 7 Sep 11 07:49 test.html
Any help is greatly appreciated!
Also - my etc/exports file shows "/var/share *(rw,sync,all_squash)" and I restarted NFS service afterwards.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
It really does depend on the settings. What does
show on each server?
mount
show on each server?
ASKER
Mount on Server that's shared out:
(nothing regarding the share)
Mount on client server:
server.domain:/var/shared on /var/shared type nfs (rw,hard,vers=4,addr=192.1 68.1.112,c lientaddr= 192.168.1. 113)
(nothing regarding the share)
Mount on client server:
server.domain:/var/shared on /var/shared type nfs (rw,hard,vers=4,addr=192.1
ASKER
Nothing needs to be mounted from the server to the client, right? Only the client to the server?
ASKER