Don't know. Ignoring the UIDs shown on the server (ie umapped to a user on the server) for files created on the client...<br><br>... There is still a further problem of file permissions. Files created on one are not writable on the other unless chmod g+w performed by owner on machine where file created.   Might try creating a new partition and mounting it with a specific GID and umask to set group write permission on all newly created files there.<br>
<br>James.<br><div class="gmail_extra"><br><br><div class="gmail_quote">On 4 November 2012 17:06, Peter Childs <span dir="ltr"><<a href="mailto:peterachilds@gmail.com" target="_blank">peterachilds@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><p dir="ltr">I've never tried this with nfs. I've always had matching ids between my comments and server. </p>
<p dir="ltr">Have a look at <a href="http://www.troubleshooters.com/linux/nfs.htm" target="_blank">http://www.troubleshooters.com/linux/nfs.htm</a> </p>
<p dir="ltr">It looks like all_squash might help. But given its using an uid from the client I'd guess the issue is on the client. ....</p>
<p dir="ltr">Peter</p>
<div class="gmail_quote"><div><div class="h5">On 4 Nov 2012 16:00, "jwm- <a href="http://art.net" target="_blank">art.net</a>" <<a href="mailto:jwm.art.net@gmail.com" target="_blank">jwm.art.net@gmail.com</a>> wrote:<br type="attribution">
</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5">
I'm halfway there now. Changed /etc/idmapd.conf on both client and server so that Nobody-User and Nobody-Group all specify my common user/group. The client sees all files as owned by common user and common group. The server sees files created on the server as owned by user who created them, but files created on client are owned by 65534 - which is the id of the nobody user in debian (nobody user under arch is 99). <br>


<br><br><br><br><br><br><br><div class="gmail_extra"><br><br><div class="gmail_quote">On 4 November 2012 15:14, jwm- <a href="http://art.net" target="_blank">art.net</a> <span dir="ltr"><<a href="mailto:jwm.art.net@gmail.com" target="_blank">jwm.art.net@gmail.com</a>></span> wrote:<br>


<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I found somewhere to change a nfs-common.conf setting on both client and serve to USE_IDMAPD="yes" which I have done, but now the files are owned by nobody and nogroup, that is ID 65534 and still not 10000 like I wish.<br>



<br><div class="gmail_extra">drwxrwsr-x   2 nobody nogroup  4096 Nov  4 14:47 shared<br><br>Both machines have rpc.idmapd running.<br><br>Have also read NFS 4 does not work with UID/GIDs.<br><br>James.<div><div>
<br><br><br><br><div class="gmail_quote">
On 4 November 2012 14:21, jwm- <a href="http://art.net" target="_blank">art.net</a> <span dir="ltr"><<a href="mailto:jwm.art.net@gmail.com" target="_blank">jwm.art.net@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">



Hello,<br><br>Hoping someone can help... I've setup NFS to run under Arch Linux, and a client running Debian.<br><br>From the client machine, the UIDs + GIDs of files look like so:<br><br>-rw-r--r-- 1 4294967294 4294967294  0 Nov  4 14:05 pop<br>




-rw-r--r-- 1 4294967294 4294967294 12 Nov  4 13:11 test<br><br>I want at least for the GID to have some sensible value and decided to create a new group on both machines with the same GID of 10000. So in the /etc/exports I have this:<br>




<br>/srv/nfs/shared         Laptop(rw,all_squash,sync,no_subtree_check,anongid=10000)<br><br>setup as per: <a href="https://wiki.archlinux.org/index.php/Nfs#Server" target="_blank">https://wiki.archlinux.org/index.php/Nfs#Server</a><br>



<br>
And in the client's /etc/fstab:<br><br>Desktop:/srv/nfs/shared       /desktop/shared       nfs     rw,bg,hard,intr 0 0<br><br>I didn't want to set anonuid in the server /etc/exports as I want to give two user accounts on the client rw access to a shared folder, and ro access to another folder.<br>




<br>Thanks for any help,<br>James.<br>
</blockquote></div><br></div></div></div>
</blockquote></div><br></div>
<br></div></div>_______________________________________________<br>
Kent mailing list<br>
<a href="mailto:Kent@mailman.lug.org.uk" target="_blank">Kent@mailman.lug.org.uk</a><br>
<a href="https://mailman.lug.org.uk/mailman/listinfo/kent" target="_blank">https://mailman.lug.org.uk/mailman/listinfo/kent</a><br></blockquote></div>
<br>_______________________________________________<br>
Kent mailing list<br>
<a href="mailto:Kent@mailman.lug.org.uk">Kent@mailman.lug.org.uk</a><br>
<a href="https://mailman.lug.org.uk/mailman/listinfo/kent" target="_blank">https://mailman.lug.org.uk/mailman/listinfo/kent</a><br></blockquote></div><br></div>