Home Share Permissions

Status
Not open for further replies.

DJ_TLG

Dabbler
Joined
Jul 24, 2015
Messages
12
Hello,

I am having issues setting up permissions for the user folders. I am creating a new dataset for each user. So I have a "home" dataset then I have a new dataset for user A "a" and for user B "b". What I want to do is that the users will have full control to their home folder and noone else will have access to it.(Windows equivalent of 700) The issue I am having is that the permissions keep reverting back to the windows equivalent of 774. I also would like to set it up in a way that any new dataset I create under dataset "home" will be created with the windows equivalent permissions of 700.

The "home" dataset is a cifs share and the option for home share is ticked. The share settings from smb4.conf is below.

Code:
[homes]
    valid users = %U
    path = /mnt/volume1/home/%U
    comment = Home Directories
    printable = no
    veto files = /.snapshot/.windows/.mac/.zfs/
    writeable = yes
    browseable = yes
    shadow:snapdir = .zfs/snapshot
    shadow:sort = desc
    shadow:localtime = yes
    shadow:format = auto-%Y%m%d.%H%M-2w
    shadow:snapdirseverywhere = yes
    vfs objects = shadow_copy2 zfs_space zfsacl aio_pthread streams_xattr
    hide dot files = yes
    guest ok = no
    nfs4:mode = special
    nfs4:acedup = merge
    nfs4:chown = true
    zfsacl:acesort = dontcare
 

DJ_TLG

Dabbler
Joined
Jul 24, 2015
Messages
12
Hey,

Unfortunately I couldn't figure this out. I ended up sharing the main home folder and setting the permissions individually.
 
Status
Not open for further replies.
Top