-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Closed
Labels
area/pluginskind/bugOutline of a bug - must adhere to the bug report template.Outline of a bug - must adhere to the bug report template.severity/P1Has a major impact to usage or development of the system.Has a major impact to usage or development of the system.sprint/currentsprint/next
Milestone
Description
Describe the bug
When running a self-hosting workspace according to https://github.com/eclipse/che-theia/blob/master/CONTRIBUTING.md, the value of theia.PluginContext.globalStoragePath is wrong: it ends up being /home/theia/home/theia-
which is incorrect.
When a plugin is trying to write a file to that location using the vscode.workspace.fs API, the write will fail. The latest version of the ms python extension shows the problem
Che version
master
Steps to reproduce
Start a self-hosting workspace containing the ms python extension. You'll find the following error in the plugin host log:
(FileSystemError): Error: EACCES: permission denied, mkdir '/home/theia'
at new FileSystemError (/projects/theia/packages/plugin-ext/lib/plugin/types-impl.js:1294:28)
Metadata
Metadata
Assignees
Labels
area/pluginskind/bugOutline of a bug - must adhere to the bug report template.Outline of a bug - must adhere to the bug report template.severity/P1Has a major impact to usage or development of the system.Has a major impact to usage or development of the system.sprint/currentsprint/next