You'll noticeTier: how much it should matter to you
1Useful: my rating, 1 to 5
1Signal: worth watching, 1 to 5
SessionsArea: what it touches
Bug FixesKind: in v2.1.329,
Bug FixesSection of the release
What
In a shell, cd - takes you back to the previous folder, which the shell remembers in a value called OLDPWD. On Linux remote sessions that run as root, the all-powerful system user, Claude Code now sets that value up front:
With a remote switch on, it points at /var/lib/claude-code-previous/empty/no-previous-folder, a folder created and owned by root.
With the switch off, it points at /.
Sandboxed commands, ones run inside a walled-off area, are also refused if the session is moving folders while it is still setting up.
Why
This is a safety change for remote sessions. It changes where cd - takes you at the start.