LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   NFS4 UID/GID translation problem (https://www.linuxquestions.org/questions/linux-networking-3/nfs4-uid-gid-translation-problem-482177/)

tisource 09-10-2006 01:53 PM

NFS4 UID/GID translation problem
 
I'm setting up a NFS4 server/client setup, and am having problems with UID/GIDs, ownership, and ultimately, permissions.

I can mount the export and can view the files. However, I cannot write to the files. When I do a long listing, it shows unusual owning user, owning group info - it shows a long hash of numbers as the owner, and a long hash of numbers as the group. This isn't what the host server shows as the ownership locally.

I know it isn't the client, because I mounted it locally (on the same box the export is housed on), and it does the same thing.

Here is my export:
/data *(rw,wdelay,insecure,sync,fsid=0,no_subtree_check)

Here is my mount command:
mount -t nfs4 10.0.0.12:/ /media/nfs4

How do I fix this problem?

w3bd3vil 09-10-2006 02:13 PM

I dont know is it me or.....
I see you have exported the /data dir and are trying to mount the / dir.

is that correct?

tisource 09-10-2006 04:47 PM

I am exporting /data on the server and mounting it on the client. The syntax (/data vs /) is correct because of the pseudofilesystem features of NFS4 (syntax varies from NFS3).

I just don't know why the ownership isn't coming across the mount.


All times are GMT -5. The time now is 05:58 AM.