vscodium icon indicating copy to clipboard operation
vscodium copied to clipboard

Flatpak build writes config files outside of sandbox

Open BeatLink opened this issue 4 years ago • 4 comments

On flatpak builds, the app will create a folder in the homefolder called ~/.vscode-oss. The app should instead store these configuration files in its own .var folder

BeatLink avatar Oct 27 '20 04:10 BeatLink

This is probably a hard-coded path in the source code rather than using the proper XDG locations. It also creates ${HOME}/.tooling/ sub-directory — not sure if it's the IDE or an extension because all I have in that one is a gradle/ sub-sirectory, so it might be the RedHat Java extension.

Anyway, I don't think this is a Flatpak issue, because I've tested the AppImage and the (64-bits) ZIP and all behave in the same way.

x80486 avatar Feb 11 '21 20:02 x80486

Hey @BeatLink there is an issue on codium's flatpak repo for this problem

noonsleeper avatar Mar 15 '21 23:03 noonsleeper

Thanks for keeping me posted! I'll subscribe to it

BeatLink avatar Mar 16 '21 01:03 BeatLink

~~It isn't limited to flatpak, VSCode has this behaviour on all the distros I've tested (#671).~~

My bad! It's the folder containing the extensions. I was thinking that the folder's name was wrong. It is but that not the issue here.

daiyam avatar Mar 18 '21 14:03 daiyam

This issue has been automatically marked as stale. If this issue is still affecting you, please leave any comment, and we'll keep it open. If you have any new additional information, please include it with your comment!

github-actions[bot] avatar Oct 08 '22 01:10 github-actions[bot]

This issue has been closed due to inactivity, and will not be monitored. If this is a bug and you can reproduce this issue, please open a new issue.

github-actions[bot] avatar Nov 09 '22 01:11 github-actions[bot]

This issue has been closed due to inactivity, and will not be monitored. If this is a bug and you can reproduce this issue, please open a new issue.

github-actions[bot] avatar Nov 09 '22 01:11 github-actions[bot]