CmdStan’s current build system always assumes it has write permissions over its own directory. This is something of a pain point, but not one with an easy solution. There is some discussion here: Error compiling a simple model with read-only access to CmdStan · Issue #1175 · stan-dev/cmdstan · GitHub
1 Like