User is getting root GID instead of it's own

Status
Not open for further replies.

mosh

Explorer
Joined
Mar 23, 2017
Messages
54
Hi,
I've installed FreeNAS 9.10.2-U2 on a server., My network is using LDAP for authentication - the LDAP is configured and i'm able to see the cached users/groups on freeNAS
after setting up a share. i'm able to access the share and the permissions for read/write are fine as well.

when creating a file on my local filesystem ownership is "UID=mosh GID=mosh"
however, when creating a file on NFS mounted freeNAS ownership is "UID=mosh GID=root" for me and for others users as well

Here is an example for this issue:
Code:
mosh mosh-lnx ~ $ id
uid=57(mosh) gid=57(mosh) groups=57(mosh),1502(all)
mosh mosh-lnx /nas3_home $ touch /tmp/testing
mosh mosh-lnx ~ $ ls -l /tmp/testing
-rw-rw-r-- 1 mosh mosh 0 Mar 23 15:17 /tmp/testing

mosh mosh-lnx /nas3_home $ touch /nas3_home/testing_share
mosh mosh-lnx /nas3_home $ ls -l /nas3_home/testing_share
-rw-rw-r-- 1 mosh root 0 Mar 23 15:19 /nas3_home/testing_share


here is a pic of the /home storage data-set
taiszr.png



here is an image of the /home sharing
8wm820.png




EDIT:
Hardware specs - Dell R630 Server
Protocol - NFS V3
mount options:
/freenas_home from freenas:/mnt/home
Flags: rw,relatime,vers=3,rsize=65536,wsize=65536,namlen=255,hard,proto=tcp,timeo=600,retrans=2,sec=sys,mountaddr=10.10.10.10,mountvers=3,mountport=830,mountproto=udp,local_lock=none,addr=10.10.10.10


does anyone knows what am I missing here?

Regards,
Moshe
 
Last edited:

SweetAndLow

Sweet'NASty
Joined
Nov 6, 2013
Messages
6,421
Hardware specs, protocol used, mount options on client? Providing the required information is the only way to get decent help.

Sent from my Nexus 5X using Tapatalk
 

mosh

Explorer
Joined
Mar 23, 2017
Messages
54
Hardware specs, protocol used, mount options on client? Providing the required information is the only way to get decent help.

Sent from my Nexus 5X using Tapatalk

I've edited my post accordingly, let me know if you need something else
Thanks for your notes!
 
Status
Not open for further replies.
Top