Group ID not set properly on NFS share

Status
Not open for further replies.

umSteve

Cadet
Joined
Jan 9, 2014
Messages
2
I'm mounting a FreeNAS 11 dataset from a Linux/Ubuntu system, and I've created user and group IDs on FreeNAS that match my user and group ID on the linux system. But when I create a file from the Linux system, the user ID is set properly, but the group ID is always set to Wheel (gid = 0). So how can I configure the FreeNAS share to use my group ID from the client computer when a file is created?

The dataset permsissions: owner = root:wheel, apply owner(user,group, mode) = checked, mode = RWX for owner, group, and other, and permission type = Unix.



Thanks,
Steve
 
Last edited:

SweetAndLow

Sweet'NASty
Joined
Nov 6, 2013
Messages
6,421
Group ownership is inherited from the parent directory. It has nothing to do with your primary group membership.
 

2eleven

Cadet
Joined
Dec 28, 2017
Messages
1
What SweetAndLow said is correct, and is a BSDism. I wish there was a way to set a preference for this behavior if you'd prefer new files/dirs to assume the creator's primary group membership, but I haven't found one.
 
Status
Not open for further replies.
Top