Register for the iXsystems Community to get an ad-free experience and exclusive discounts in our eBay Store.

Cannot modify permissions for imported dataset

avggeek

Junior Member
Joined
Aug 28, 2015
Messages
16
Hi,

I've recently migrated my Ubuntu 18.04 install to TrueNAS SCALE 22.02-RC.1-2. I'm facing an odd problem with the SCALE UI where it errors out when I try to modify permissions on an imported dataset. Here are the steps I followed:

  • Import existing ZFS pool from SCALE UI
  • Encountered errors with Sharing imported datasets which I fixed by correcting the mountpoints for the individual datasets following this thread.
  • Create new users whose UID & GID matches with the UID & GID from the Ubuntu install. A lot of these users were Samba-only users in Ubuntu who had UID's < 500 (in order to prevent them appearing on GNOME Login)
  • Create new shares for imported datasets in SCALE UI. Verify that these shares can be mounted by clients using the same credentials from the older install and read/write permissions work correctly for these clients.
  • Try to view/modify permissions for an imported dataset in SCALE UI. The following screen appears (No errors visible on TrueNAS Console or middlewared.log):
goK1bpL.png


Thinking it might be an issue with the odd UID's, I removed one user which had a low UID and re-created the user with a normal UID. I changed the permissions for this dataset to match with the new user as well. However, trying to modify this dataset also shows the same error.

The only datasets I can view permissions & modify are those that were created from scratch in the TrueNAS UI. Has anybody seen this type of error before? I can't find any threads on the forum that might be relevant but happy to be corrected.
 

avggeek

Junior Member
Joined
Aug 28, 2015
Messages
16
What is output of `midclt call filesystem.getacl /mnt/rust-storage/Big-Rig` ?
I got an ENOENT error when I ran this command and when I looked a little closer, I realized I had made a PEBKAC error. When migrating the ZFS pool from Ubuntu to TrueNAS SCALE, I had to change the mountpoints for the individual datasets. However, instead of setting the mountpoint to "/mnt/rust-storage/Big-Rig" I had set it to "/mnt/rust-storage/backup/Big-Rig" (the "backup" string being a copy-paste error from the old config).

When I fixed the mountpoint, the ACL screen started working normally. Thank you for helping me figure that out!
 
Top