Skip to content

Commit b0aa150

Browse files
authored
Merge pull request #25899 from dvdksn/codex/docs-setup-files-permissions
docs: clarify setup.files permissions
2 parents d5fd7c1 + e91e01b commit b0aa150

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

content/manuals/ai/sandboxes/customize/kit-reference.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -472,6 +472,11 @@ Files written at sandbox start, with runtime substitution.
472472
| `mode` | `"0644"` | File permissions in octal. |
473473
| `onlyIfMissing` | `false` | Skip if the file already exists. |
474474

475+
The runtime writes these files as the agent user with UID 1000. The target
476+
path must be writable by that user. To write to a root-owned path such as
477+
`/etc`, use an `install` command, which runs as root by default. Set ownership
478+
in the install command if the agent needs to modify the file later.
479+
475480
## Static files
476481

477482
```text

0 commit comments

Comments
 (0)