Make ~/.local/share/uv writable: uvx writes temp files there

MCP servers started with uvx failed with 'Read-only file system' as soon as uv needed to
write under its data directory.
This commit is contained in:
2026-10-30 01:53:23 -07:00
parent 727feb6be3
commit a516ecf744
+1 -1
View File
@@ -48,7 +48,7 @@ ocsb_defaults() {
OCSB_OPENCODE_CONFIG="" # global OpenCode config; default: user's or the package's OCSB_OPENCODE_CONFIG="" # global OpenCode config; default: user's or the package's
OCSB_RW=() # extra paths the agent may write (relative to the project) OCSB_RW=() # extra paths the agent may write (relative to the project)
# Home directories that stay writable for toolchains and caches (only if they exist) # Home directories that stay writable for toolchains and caches (only if they exist)
OCSB_RW_HOME=(.cache .npm .bun .bundle .gem .asdf .local/share/mise .cargo .rustup go OCSB_RW_HOME=(.cache .npm .bun .bundle .gem .asdf .local/share/mise .local/share/uv .cargo .rustup go
.m2 .gradle .docker/buildx .kube/cache) .m2 .gradle .docker/buildx .kube/cache)
OCSB_HIDE=() # extra paths hidden from the agent (relative to the project) OCSB_HIDE=() # extra paths hidden from the agent (relative to the project)
# Hidden home paths: credentials of other tools, browsers, other agents # Hidden home paths: credentials of other tools, browsers, other agents