Hi Folks,
I recently got myself a new server running TrueNAS Scale and started working on migrating my stuff over from Synology.
Nothing really worked out of the box be it for old guides or me having no clue what I am doing but for better or worse I have a zpool created, and it has some datasets inside.
Now I noticed some weird behavior (probably intended) and I'd like to understand how I can fix permissions on all my files.
Breakdown of the situation:
I noticed that while being able to connect via SMB to a dataset using "user1" and being allowed to create edit move delete folders/files I can't access anything that that "user1" has not created like folders created by root or files downloaded by qbittorrent (user: apps).
Now I am not exactly sure what the logic behind linux ACLs is, but all I want to do is create a user that has access to everything. and I mean everything.
My original plan was to simply use root for everything - it seemed to make my life easier but then I saw many saying that for some reason using root is a big nono. I don't really get that but I think it's a moot point given that I can't seem to be able to login via SMB using root.
Here's what I tried:
adding "apps" and "root" groups to "user1" as auxiliary groups
making "user1" the owner of the entire dataset
giving "user1" read write execute rights to the dataset
giving "user1_group" read write execute rights to the dataset
making "user1_group" the owner of the dataset (didn't work and broke qbittorrent, fun times)
making all the above changes and ticking the "apply recursively" box
deleting the share and starting fresh
I should probably note that simply giving "user1" rwe permissions didn't even let me save. I dug around and apparently for some reason I first need to add a "mask", give it the permissions my "user1" needs and then configure "user1"...
long story short, I have no clue how all of this works and I am out of ideas
If one of you has the patience to guide me through this I'd really appreciate it
I recently got myself a new server running TrueNAS Scale and started working on migrating my stuff over from Synology.
Nothing really worked out of the box be it for old guides or me having no clue what I am doing but for better or worse I have a zpool created, and it has some datasets inside.
Now I noticed some weird behavior (probably intended) and I'd like to understand how I can fix permissions on all my files.
Breakdown of the situation:
I noticed that while being able to connect via SMB to a dataset using "user1" and being allowed to create edit move delete folders/files I can't access anything that that "user1" has not created like folders created by root or files downloaded by qbittorrent (user: apps).
Now I am not exactly sure what the logic behind linux ACLs is, but all I want to do is create a user that has access to everything. and I mean everything.
My original plan was to simply use root for everything - it seemed to make my life easier but then I saw many saying that for some reason using root is a big nono. I don't really get that but I think it's a moot point given that I can't seem to be able to login via SMB using root.
Here's what I tried:
adding "apps" and "root" groups to "user1" as auxiliary groups
making "user1" the owner of the entire dataset
giving "user1" read write execute rights to the dataset
giving "user1_group" read write execute rights to the dataset
making "user1_group" the owner of the dataset (didn't work and broke qbittorrent, fun times)
making all the above changes and ticking the "apply recursively" box
deleting the share and starting fresh
I should probably note that simply giving "user1" rwe permissions didn't even let me save. I dug around and apparently for some reason I first need to add a "mask", give it the permissions my "user1" needs and then configure "user1"...
long story short, I have no clue how all of this works and I am out of ideas
If one of you has the patience to guide me through this I'd really appreciate it