Hello everyone!
I'm setting up a turnkey fileserver mounted to a zpool dataset that will hold all the NAS data, such as movies. frigate recordings, personal files, etc in different shares.
What's the smartest way to handle permissions on the dataset? As I understand it, Samba just passes the samba user to the dataset to check permissions. So that means I'd have to create the same set of users on the zpool host as in the fileserver, *or* make the dataset read/write for everyone (777). Is there a way in between these two options? Just for general security I'd rather not have the dataset permissions set to 777, but I'd also rather not have to create duplicate users on the zpool host when I add family members to samba.
Ideally I'd like samba usernames and passwords used when communicating between hosts and samba, but then when samba stores or accesses the data it just uses a single permissioned user on the zpool dataset host.
Cheers
I'm setting up a turnkey fileserver mounted to a zpool dataset that will hold all the NAS data, such as movies. frigate recordings, personal files, etc in different shares.
What's the smartest way to handle permissions on the dataset? As I understand it, Samba just passes the samba user to the dataset to check permissions. So that means I'd have to create the same set of users on the zpool host as in the fileserver, *or* make the dataset read/write for everyone (777). Is there a way in between these two options? Just for general security I'd rather not have the dataset permissions set to 777, but I'd also rather not have to create duplicate users on the zpool host when I add family members to samba.
Ideally I'd like samba usernames and passwords used when communicating between hosts and samba, but then when samba stores or accesses the data it just uses a single permissioned user on the zpool dataset host.
Cheers