Hi there
I just freshly migrated my TrueNAS Core 12.U6
to Dragonfish-24.04.2
The way I went about permissions in Core was always to have a fs-root
account that didn’t have all the permissions the root user had but was able to fully modify all datasets on the system. Depending on whether it was a dataset that was supposed to be accessible by multiple users or just one, I added either the specific group with the necessary permissions (rwx minus delete dataset and modify acls on dataset)
or I added another user to the ACLs with same previously mentioned permissions and the default group to a specific empty
group that has no users and that has no rights.
Having upgraded now to Scale
I found myself unable to continuously replicate that process.
I wanted to setup a new borg container to host a borg repo. For that I wanted to create the following structure:
/mnt
/pool # Dataset over 5 disks.
/container # Child Dataset
/borg-init # Child Dataset
/borg-config # Child Dataset
I went about it the old fashioned way - created a dataset first and then set the permissions. For the Dataset I used the General
preset. When I then wanted to set the ACLs I didn’t have the old selection like it is shown here under Advanced Permissions. With ACLs it only gave me RWX. Additionally, I needed to have two instances of User
, Group
and Default
i.e. no one. When I then proceeded in making child Datasets borg-init
and borg-config
I got the following error:
[EINVAL] pool_dataset_create.aclmode: DISCARD aclmode may not be set to POSIX or OFF
After a quick google search I stumbled accross this post which suggested to use the SMB
preset over the Generic
. I’m now confused how I should go about this because I really liked my old system and the flexibility to set the permissions on a very granular level. However is there a performance advantage to using the POSIX
ACLs? Or are the other style of ACLs going to be deprecated?
I’m admittedly not too familiar with all the ins and outs of TrueNAS. I’m running a very old system from the 2010s with 72Tb of raw storage as a home lab.
Thank you for your input.
AliSot2000