Re: [osol-discuss] Mounted nfs share - client root cannot write to it.
Hi tpaktop, From my understanding, you have to make sure that the folder you are sharing has the relevant permissions. Is the folder owned by Staff? Ben -- This message posted from opensolaris.org ___ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org
Re: [osol-discuss] Mounted nfs share - client root cannot write to it.
Yes Sir. You are right. It's owned by tpaktop:staff. -- This message posted from opensolaris.org ___ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org
Re: [osol-discuss] Mounted nfs share - client root cannot write to it.
Matthias Pfützner matth...@pfuetzner.de writes: Yes, if you want the remote root to not be a local root also, you can map that to a different userid... Dear Matthias or anybody else. I have the only one question to clarify. That UID which is used for root_mapping or anon options, is this _local_ or _remote_ parameter? Meaning in my case _tpaktop_ as I can see is remote. But based on man share_nfs that should be local UID. It's most thing that confusing me a lot... -- This message posted from opensolaris.org ___ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org
Re: [osol-discuss] Mounted nfs share - client root cannot write to it.
Hey guys, Based on number 1 at posts count you can understand that I'm sort of a noob here, so be a patient to me little bit if I'll ask some stupid questions. :) Currently I'm trying to replace freebsd 8 installation with osol (134). It has more positive steps than negative except the one problem. I sucessfuly shared zfs volume thru NFS by this command: pfexec zfs set sharenfs=ro...@192.168.0.0/16,root_mapping=tpaktop tp0 It works completely okay at all. I mounted that share on BSD and everything looks good except wrong owner group. It's some unknown 101 which is not equal to any OSOL or BSD groups. I tried to set group in nfs share: pfexec zfs set sharenfs=ro...@192.168.0.0/16,root_mapping=tpaktop tp0 but this syntaxis is unacceptable. What an I doing wrong? How I can set it to group STAFF which is best suitable for me? -- This message posted from opensolaris.org ___ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org
[osol-discuss] Mounted nfs share - client root cannot write to it.
I'm pretty green with both zfs and nfs. Only started using nfs since I got involved with opensolaris (linux background before that) I'm finding that when I have a zfs filesystem exported from zfs server as NFS 3, and mounted on a linux client that my user can read/write freely on it, but the linux ROOT user cannot. I wondered if that is normal. My export is done only through `zfs set sharenfs=on' mechanism with no other options set. The export is also set to UID:GID of a user on both machines by root on the server. ___ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org
Re: [osol-discuss] Mounted nfs share - client root cannot write to it.
That's normal! You need to set the root= option... Like in: zfs set sharenfs=ro...@192.168.2 pfuetz/smb-share See man share_nfs... Matthias You (Harry Putnam) wrote: I'm pretty green with both zfs and nfs. Only started using nfs since I got involved with opensolaris (linux background before that) I'm finding that when I have a zfs filesystem exported from zfs server as NFS 3, and mounted on a linux client that my user can read/write freely on it, but the linux ROOT user cannot. I wondered if that is normal. My export is done only through `zfs set sharenfs=on' mechanism with no other options set. The export is also set to UID:GID of a user on both machines by root on the server. ___ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org -- Matthias Pfützner | Tel.: +49 700 PFUETZNER | Wer heute geboren wird, Lichtenbergstr.73 | mailto:matth...@pfuetzner.de | hat quantitativ weniger D-64289 Darmstadt | AIM: pfuetz, ICQ: 300967487 | Zukunft als wir. Edgar Germany | http://www.pfuetzner.de/matthias/ | Reitz, Die Zeit 12/97 ___ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org
Re: [osol-discuss] Mounted nfs share - client root cannot write to it.
Matthias Pfützner matth...@pfuetzner.de writes: That's normal! You need to set the root= option... Like in: zfs set sharenfs=ro...@192.168.2 pfuetz/smb-share See man share_nfs... Thanks, it appears I need to add: root_mapping=uid as well The man page indicates it would be added like: zfs set sharenfs=ro...@192.168.0.0/24,root_mapping=reader z3/projects And by cracky, it worked just fine. Thanks. ___ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org
Re: [osol-discuss] Mounted nfs share - client root cannot write to it.
You (Harry Putnam) wrote: Matthias Pfützner matth...@pfuetzner.de writes: That's normal! You need to set the root= option... Like in: zfs set sharenfs=ro...@192.168.2 pfuetz/smb-share See man share_nfs... Thanks, it appears I need to add: root_mapping=uid as well The man page indicates it would be added like: zfs set sharenfs=ro...@192.168.0.0/24,root_mapping=reader z3/projects And by cracky, it worked just fine. Thanks. Yes, if you want the remote root to not be a local root also, you can map that to a different userid... Glad, it works now! Matthias -- Matthias Pfützner | Tel.: +49 700 PFUETZNER | Der Schlaflose ist zu faul Lichtenbergstr.73 | mailto:matth...@pfuetzner.de | zum Träumen. D-64289 Darmstadt | AIM: pfuetz, ICQ: 300967487 | Germany | http://www.pfuetzner.de/matthias/ | Günter Eichberger ___ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org