Commit 0de7bb9
Don't resolve symlinks for --sandbox_base
On macOS BigSur, the sandbox-exec command behaves slightly different than on
Catalina when firm links are present.
Resolving symlinks can prevent the sandbox for allowing write operations to the
sandbox base.
This effectively reverts a piece of 656a0ba, namely:
> When using --experimental_sandbox_base, ensure that symlinks in the path are
> resolved. Before this, you had to check whether on your system /dev/shm is a
> symlink to /run/shm and then use that instead. Now it no longer matters, as
> symlinks are resolved.
See bazelbuild#13766 for full details.
Closes bazelbuild#13984.
PiperOrigin-RevId: 4223198071 parent 07812ff commit 0de7bb9
File tree
1 file changed
+4
-0
lines changed- src/main/java/com/google/devtools/build/lib/sandbox
1 file changed
+4
-0
lines changedLines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
126 | 126 | | |
127 | 127 | | |
128 | 128 | | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
129 | 133 | | |
130 | 134 | | |
131 | 135 | | |
| |||
0 commit comments