While DataMind Oda works, it runs commands on your computer. Whenever the chat's access mode limits file changes, every command runs inside a file sandbox: it checks the changes the command makes, stops one the mode does not allow, and lets Oda ask you for a single wider retry. This page describes the sandbox levels, what a denial and a sandbox failure look like, and that retry. To choose the mode itself, see Workspaces, files and permissions.
The chat's access mode sets which level a command runs under:
| Level | What a command may change |
|---|---|
| Read Only | No file may be changed. Writes to the system's discard device still work (/ on macOS and Linux, NUL on Windows), so a command that discards its output keeps working. |
| Workspace Write | Files under the chat's workspace folder, plus the temporary area the system gives the chat, including / on macOS and Linux. |
| Full access | Anything the command can reach. No file limits are applied. |
When a command tries to change a file the level does not allow, the sandbox stops that change:
[sandbox: file access denied under <mode> mode], which names the level the command ran under.After a denial, and only after one, Oda may retry the exact same command once with wider access:
When Oda needs more access shows the choices on the approval card and how far a retry can widen.
Sometimes the sandbox itself cannot do its job, and Oda does not hide it:
Oda never drops the file limits to make a command run. When the limits cannot be applied, the command is refused, or it runs only after you allow that one command without them.
File limits are not the only limits on a command. The same limits apply whatever the mode:
These values can be changed while Oda runs; a change applies to later commands with no restart. The command environment covers where to change them and what every command receives.
The levels work on Windows too, with a few things worth knowing:
NUL, the system's discard device on Windows, accepts writes in the limited levels, so a command that silences its output keeps working.The sandbox could not run the command at all, so the command did not run and nothing was changed. The note adds that this is a sandbox problem, not a command failure: the fault is in the sandbox on this computer, not in the command. Oda can try again, or continue another way.
/ dev/ null still work in Read Only?Discarding output changes nothing, so the system's discard device stays writable in Read Only, and commands that send output to / (or NUL on Windows) keep working. Every file change is still denied.
No. The levels limit file changes only. Reading is not restricted by the mode, and a command's network use is outside the sandbox. The Windows section above has one caveat about reads.
Once. After a denial, Oda may retry the exact same command a single time with the narrowest wider level. If you refuse, or nothing can ask you, that is final for the command: Oda does not ask again, and continues another way.
No. The one retry exists for a command the sandbox denied; a wider request comes only after a denial. A command that fits the chat's mode runs without any request, and Oda asks for your answer only when something goes wider than the mode.
After you allow a retry, the result reports the level the command actually ran under.
Some computers apply the limits only partly, and every step records how completely they could be applied. A partial result does not mean the limits were dropped: changes the level does not allow are still denied.
Yes. One file sandbox stops changes under these levels, whether the change comes from a command or from Oda's own file steps. File safety and error messages covers the file side.
A command under a limited level runs in a more restricted context on Windows. A folder whose access rules do not include that context can fail to open, even though the levels themselves do not limit reading. Every step records how completely the limits could be applied.