Permission not updating in datasets

WDBlue

Dabbler
Joined
Feb 25, 2023
Messages
20
When attempting to update permissions of a dataset, I can not get the permissions to stick even though it appears that it has completed successfully. I can provide screen shots if needed.
 

anodos

Sambassador
iXsystems
Joined
Mar 6, 2014
Messages
9,553
When attempting to update permissions of a dataset, I can not get the permissions to stick even though it appears that it has completed successfully. I can provide screen shots if needed.
Can you review output of midclt call core.get_jobs | jq (may have to scroll through the output)? I've seen some cases recently where webui is squashing validation errors for invalid ACL payloads.
 

anodos

Sambassador
iXsystems
Joined
Mar 6, 2014
Messages
9,553
The most common mistakes for ACL payloads are:
1) POSIX1E ACLs that lack mandatory entries
2) Attempts to recursively set an ACL that lacks inheritable entries ("default" for POSIX1E or inheritance flags for NFSv4-style).
 

WDBlue

Dabbler
Joined
Feb 25, 2023
Messages
20
I am trying to figure out how to get to the CLI for truenas without connecting a keyboard and monitor to the server.
 

WDBlue

Dabbler
Joined
Feb 25, 2023
Messages
20
SSH is generally how people do this. Windows and Mac both have native SSH clients.
I figured out how to ssh into the server. Running your command now. The shell terminal provided by TrueNas cuts off the top of the output from your command above, so I have to send it to a file and then review the file.
 

anodos

Sambassador
iXsystems
Joined
Mar 6, 2014
Messages
9,553
I figured out how to ssh into the server. Running your command now. The shell terminal provided by TrueNas cuts off the top of the output from your command above, so I have to send it to a file and then review the file.
The shell terminal generally shouldn't be used for anything but the most trivial commands.
 

anodos

Sambassador
iXsystems
Joined
Mar 6, 2014
Messages
9,553
Generally as a server admin, it would be beneficial to familiarize yourself with how to manage a server via SSH. Even if there's a webui, it's important to understand basic management and disaster recovery in case webui becomes inaccessible.
 

WDBlue

Dabbler
Joined
Feb 25, 2023
Messages
20
Can you review output of midclt call core.get_jobs | jq (may have to scroll through the output)? I've seen some cases recently where webui is squashing validation errors for invalid ACL payloads.
In reviewing the output, there were no validation errors that were clearly evident. It does not appear that the webui "squashed" any validation errors. All errors that appeared in the WebUI were shown and corrected on the web interface.
 

WDBlue

Dabbler
Joined
Feb 25, 2023
Messages
20
Okay. What is the payload for your permissions job from the core.get_jobs output?
Sorry, you most likely have lost more knowledge on this than I have ever had.

I am not sure what you are asking for regarding the payload. I understand the core.get_jobs output. Please pretend I am a newbie and know nothing about this, even if I do understand a little bit.
 

anodos

Sambassador
iXsystems
Joined
Mar 6, 2014
Messages
9,553
Sorry, you most likely have lost more knowledge on this than I have ever had.

I am not sure what you are asking for regarding the payload. I understand the core.get_jobs output. Please pretend I am a newbie and know nothing about this, even if I do understand a little bit.
You can click system->advanced->save debug and send me the tarball via private message.
 
Top