Recently my True Nas Core was fried in an electrical short (data drive was fine) so I decided to jump to Scale. I was able to import my data pool into scale, but the sub folders are not showing in Scale. When I access my NAS I’m able to see the subfolders, but I’m met with the error of not having permissions, when I tried to create a data set with the same name Scale gives me the error that the data set already exits. How am I able to give myself permissions ton read/write on the sub folders?
If you’re browsing your data via the shell then it may well be that your admin login doesn’t have the correct permissions. In CORE the root user was the default login for the UI then it was admin now it’s truenas_admin. You could simply change to the root user but this will only help you see the data from the command line. To access the data via SMB etc then you’ll need to create a local user with permissions. If you already had this on CORE then you simply need to create a user matching the same uid. You should be able to see this uid from the permissions tab in the dataset.
There is a distinct difference between “Datasets” and “Sub-folders” (within a dataset).
Both of these look the same when you navigate the directory structure, but each dataset is an individual filesystem mount from a Linux perspective, whilst sub-folders are exactly that within the filesystem of the parent dataset. And this distinction has a significant impact on the ACLs.
When you bring over a pool from a different system, it comes with ACLs which are based on Linux UIDs and GIDs, and so you either need to set up users and groups with the same IDs or you need to replace the ACLs with new ones.
What you would ideally do is to recover your TN Core system configuration file and restore it on TN Scale - and this should import and create a lot of your settings, hopefully including users and groups (with their UIDs and GIDs).
Assuming a rather simple setup like mine (see 1.jpg), edit the permissions of the topmost dataset. Then set permissions like in 2.jpg for your user.
You have to adapt that for other users and fine tune your child-datasets, if other permissions are needed there.
@newuser080624 Wow - given the apparent “top secret”, highly-confidential nature of this server, I am surprised that your government’s security service even allowed you to post highly redacted screenshots from your server.