While DataMind Oda works on a task, it sometimes runs commands on your computer. This page covers how the chat's access mode confines those commands, what a blocked command looks like, and how you allow one wider retry. For how commands run and how to read their output, see Shell commands.
The chat's access mode decides where a command may change files on your computer:
To change the mode, click the mode button in the message box or type /; Workspaces, files and permissions covers the modes and what each one allows.
When a command tries to change a file the mode does not allow, the file sandbox stops that change:
[sandbox: file access denied under read-only mode].The same sandbox stops Oda's file changes; File safety and error messages covers the file side.
After a blocked command, Oda may ask to run the exact same command once more, with wider access:
The request works like Oda's other approval cards; Your first task shows the choices and what each answer does.
On some computers the file limits cannot be applied to the folder, for example when Windows denies the permission change they need. Oda does not drop the limits quietly. It reports what went wrong:
DataMind Oda can't limit writes to <folder> because Windows denied changing its permissions.
Before running the command without restrictions, it asks:
DataMind Oda can't limit writes to <folder>.Run this command without restrictions?
Running this command without restrictions was not approved, so it did not run. The ways forward are to allow it when the command is retried, to switch the chat to Full access where it is offered, or to use a folder you own.No approval prompt is available here, so this command did not run. The ways forward then shorten to a folder you own.The command tried to change a file the chat's mode does not allow, and the file sandbox stopped that change. The note names the mode the command ran under, and the denied change is not made.
It tried to change files outside the limits of the chat's mode. You can allow the wider retry Oda asks for, change the chat's access mode, or use a folder you own.
One retry of the exact same command, and only wider. A request that does not go past the mode the command ran under is refused.
No. The widening covers that one step; the chat keeps its access mode, and the next command that goes wider asks you again.
The command does not run, and Oda continues with the task another way. The ways forward are to allow it when the command is retried, to switch the chat to Full access where it is offered, or to use a folder you own.
Nothing is approved without you: the command does not run. With approval prompts turned off, the request is refused without asking you.
On some computers the limits need a permission change that Windows denies, so they cannot be applied to that folder. Oda does not drop the limits quietly: it says why, and asks before running one command without restrictions.
In the sandbox modes, programs cannot open named pipes, so a command that needs one fails. It is the sandbox working as intended, not a fault in the command.
The sandbox itself could not start or supervise the command, so the command did not run. The result says this is a sandbox problem, not a command failure, and Oda treats it that way.