NFS Access Issue


 
Thread Tools Search this Thread
Operating Systems Linux Red Hat NFS Access Issue
# 1  
Old 04-27-2010
Question NFS Access Issue

Hi,

I am facing issue on NFS.

I have shared /data file file system on Server 192.192.192.1, added below lines in /etc/exports

/data 192.192.192.2(rw,no_root_squash,sync)

the owner of /data directory was test(uid 500)


and same I have mounted on another server 192.192.192.2 where the uid of test user was 501

After mounting I am able to list the files and directory but not able to write or creating new files.

As per my understanding their is problem of uid, but how to overcome that issue.

Please suggest.

Regards

Manoj
# 2  
Old 04-27-2010
What are the permissions of the /data directory and the local mountpoint (where you mounted the share)?
# 3  
Old 04-27-2010
Thanks for response, I have given rwx-r-x-r-x permission for shared directory and on mouted directory as /data_1 same permission rwx-r-x-r-x on both server I have created test user but having different uid.
# 4  
Old 04-27-2010
I assume you are trying to access the files with the "test" user account. And yes, UIDs/GIDs should match up on each side.

You might want to manually change UID/GID on one of the servers to match those in the other box (500 or 501 in your case). Just be careful with any existing accounts that may be already using that ID.

Another possible approach is to create a common group (same GID on both sides) and change the permissions of the mountpoint to something like 0775.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Red Hat

NFS share full access for local user

Hi All, Is it possible to give full access for a normal user in a NFS share? If its not possible is there a trick with which I can make it work? Thanks in advance Shyam (1 Reply)
Discussion started by: shyam2j
1 Replies

2. Solaris

Probem is nfs folder access from root/users on another node

Hi all I am try NFS on node1 & node2 servers. On node1, when I am using # share -F nfs -o rw,anon=0 /abc On node2, when I am using # mount -f nfs node1:/abc /a in /a folder, root user is able to create files but any other user from node2 is not able to create files, please... (1 Reply)
Discussion started by: sb200
1 Replies

3. Red Hat

Unable to access NFS share on Solaris Server from Linux client

Hi, I am trying to access a NFS shared directory on Solaris 10 Server from a client which is RHEL 4 Server. On the NFS Server, in /etc/dfs/, I added following line to dfstab file. share -F nfs -o rw /var/share & then ran the following svcadm -v enable -r... (3 Replies)
Discussion started by: SunilB2011
3 Replies

4. Solaris

Can't access NFS Share on Solaris Server from a Linux Client

Hi, I am trying to access a NFS shared directory on Solaris 10 Server from a client which is RHEL 4 Server. On the NFS Server, in /etc/dfs/, I added following line to dfstab file. & then ran the following On the client machine, while running the mount command, I am... (0 Replies)
Discussion started by: SunilB2011
0 Replies

5. Red Hat

Understanding local access to NFS export

Hello, I've inherited an NFS setup that allows external servers to write to an NFS share on a Centos box. Here is an example line from /etc/exports (there are four entries that only are different based on server IP adress). /exports/foobar... (4 Replies)
Discussion started by: KickstartUF
4 Replies

6. HP-UX

NFS Client unable to access shared DIR's

I ve a client : <clientname> and a server: <servername> Both of them running: HPUX B.11.31 SERVER outputs: I ve shared a folder in <servername> called /test and the O/P for # exportfs - /test root=<clientname>,rw=<clientname>,ro "" # showmount -e export list for... (6 Replies)
Discussion started by: Amit Kulkarni
6 Replies

7. Linux

Restrict NFS access to root

Hi Everybody, If there is a general NFS share in the LAN and for example this share has three files - a, b, c is there any way to restrict file access to the root user of one particular host(falcon) in the same LAN environment while the normal users from the same host(falcon) should be able... (4 Replies)
Discussion started by: sudhirav
4 Replies

8. AIX

Access AIX NFS Share from Windows Server 2008

Hi all, Hopefully this question hasn't been asked a thousand times. I am trying to connect a Windows Server to an exported NFS share which resides on an AIX box. I think the directory is exported correctly from the AIX side but I can't verify that because I didn't do it myself. On the... (6 Replies)
Discussion started by: ThePistonDoctor
6 Replies

9. Windows & DOS: Issues & Discussions

Terminal Services access to NFS

Hi, I am currently looking into a issue that has me scratching my head somewhat. Users from our branch down south use terminal services to work on within there windows desktop. The user used to be able to access NFS via her terminal services screen rather than reverting back to her windows... (1 Reply)
Discussion started by: wiggy332
1 Replies

10. AIX

Cannot access NFS file system

I create a NFS file system. I can read this system from client, however, I cannot write anything in this folder. Why? (1 Reply)
Discussion started by: rainbow_bean
1 Replies
Login or Register to Ask a Question