Where to enter zfs set command in shell

slimyguy

Cadet
Joined
Apr 4, 2023
Messages
2
I'm trying to set permissions for a pool that I originally created in truenas scale, (which I believe is not a supported thing)
and while trying to choose an ACL preset it gets stuck looping on a please wait message. Trying to manually, enter the settings as I see them in a tutorial I am following, I get this error
Error: [ENOTSUP] NFSv4 ACLS are not supported on path /mnt/temp big guy/bigo/secretdata-tut
CLOSE
There are a few threads I've found with a solution but I don't actually know how to use the solutions.

Here they say to use `zfs set acltype= nfsv4 pool/dataset` in the CLI, but I don't know where exactly?
I tried at the directory of the folder whose permissions I want to change, and tried straight away when I opened shell.
I'm sure this is very obvious to those who know what they're doing, but I don't which is why I moved from scale to core.
Thank you in advance.
 
Joined
Oct 22, 2019
Messages
3,641
You issue zfs commands against datasets.

So in your case:
Code:
zfs set acltype=nfsv4 mypool/mydataset


You'll have to enclose the pool/dataset within double-quotes if you use white spaces in the names.
 

slimyguy

Cadet
Joined
Apr 4, 2023
Messages
2
thank you!! I literally said 'boom goes the dynamite' outloud when this worked. Not only hadn't I known the spaces in the filepath would throw it off, I also didnt even realize I was supposed to replace "pool/dataset" with my directory
 
Top