Skip to content

Extensions cannot be installed if /tmp is on a different filesystem #182029

@jake-arkinstall

Description

@jake-arkinstall

Does this issue occur when all extensions are disabled?: Yes

  • VS Code Version: 1.79.0 insider
  • OS Version: NixOS 22.11

Steps to Reproduce:

  1. Try to install an extension
  2. See the following error:
[error] EXDEV: cross-device link not permitted, rename '/tmp/mdTslY7h' -> '/home/my-username/.vscode-insiders/extensions/github.copilot-nightly-1.86.86': EXDEV: EXDEV: cross-device link not permitted, rename '/tmp/mdTslY7h' -> '/home/my-username/.vscode-insiders/extensions/github.copilot-nightly-1.86.86'
    at e.ExtensionsScanner.u (/nix/store/z32xxgv0ixrysvwvpi9qlhq2i3w92ir0-vscode-latest/lib/vscode/resources/app/out/vs/code/node/sharedProcess/sharedProcessMain.js:88:15401)
    at async e.ExtensionsScanner.extractUserExtension (/nix/store/z32xxgv0ixrysvwvpi9qlhq2i3w92ir0-vscode-latest/lib/vscode/resources/app/out/vs/code/node/sharedProcess/sharedProcessMain.js:88:12624)
    at async ee.v (/nix/store/z32xxgv0ixrysvwvpi9qlhq2i3w92ir0-vscode-latest/lib/vscode/resources/app/out/vs/code/node/sharedProcess/sharedProcessMain.js:88:18556)
    at async ee.y (/nix/store/z32xxgv0ixrysvwvpi9qlhq2i3w92ir0-vscode-latest/lib/vscode/resources/app/out/vs/code/node/sharedProcess/sharedProcessMain.js:88:20167)
    at async ee.h (/nix/store/z32xxgv0ixrysvwvpi9qlhq2i3w92ir0-vscode-latest/lib/vscode/resources/app/out/vs/code/node/sharedProcess/sharedProcessMain.js:88:18131)

/tmp is on a different filesystem for me, so the file cannot simply be renamed as it was when extension installation was performed within the extension dir. I believe this was introduced by #181893 (I am not sure - this is my first insiders install)

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions