Can someone tell me how to change the owner of a dataset?

Sparkey

Dabbler
Joined
Nov 1, 2021
Messages
36
Right now it's set to root and I cannot get read/write access to the share.

Thank you
 

Whattteva

Wizard
Joined
Mar 5, 2013
Messages
1,824
Code:
chown -R username:groupname /path/to/your/dataset


You can omit the -R (recursive) option if you just need the top folder to be changed and not the files/folders under it.
 

Sparkey

Dabbler
Joined
Nov 1, 2021
Messages
36
Code:
chown -R username:groupname /path/to/your/dataset


You can omit the -R (recursive) option if you just need the top folder to be changed and not the files/folders under it.

Thank you sir. I was able to change the owner to admin but now I can't connect from my Linux box. I have a TrueNAS Core Box on the same network but it has a different name so I don't think it's interfering but I could be wrong, I've seen a reference to "truenas" in both. The TrueNAS Core box is working perfectly. The Scale box is giving me a fit. It's a totally different beast. I'm rebooting now to see if it makes a difference.

EDIT - OK, I got it sorted out. Thanks for the help. :smile:
 
Last edited:
Top