I have a problem with a embedded Linux device that is mounting its root filesystem over NFS. But for different reason the embedded device is a single user device running as root (and later it will not even have a network connection).On the pc I would like that my normal user own all the files, so I can modify them with out being root (or using sudo) all the time.But right now as soon as the client create a new file on the nfs mount the user id is set to root and I get a problem on the server.So my question is if there is a flag I can set in the /etc/export solves this problem? So that when the client creates a file, the uid on the server is not root but that of the user (maybe 500 or 1000).This is my current /etc/export on the server/opt/eldk/armVFP  *(rw,sync,no_root_squash)
NFS to clients with different uid:s than on the server, where the client uid:s shall not show up in the server
users;nfs
The easiest way to get around it is to set the permissions of the share on the server to be world writable (0777). The on the client (your embedded device) set the user's umask to 0000. Also remove the no_root_squash option. You want root_squash on. This turn root into the nobody user. You can then read and write any file created on the share as any user on the server system.WARNINGWhat I have described is an extremely insecure configuration, so I highly discourage doing this for anything other than a closed, private network.