Plugin can't initialize in multi-user setup
See original GitHub issueUpon startup, I’m getting:
Plugin 'com.vladsch.idea.multimarkdown' failed to initialize and will be disabled. Please restart RubyMine.
java.lang.ExceptionInInitializerError
...
Caused by: com.intellij.diagnostic.PluginException: /tmp/multimarkdown_taskitems.ttf (Permission denied) [Plugin: com.vladsch.idea.multimarkdown]
... 59 more
Caused by: java.io.FileNotFoundException: /tmp/multimarkdown_taskitems.ttf (Permission denied)
Sure enough, file /tmp/multimarkdown_taskitems.ttf
exists and is owned by another user with 644 rights. Since the current user should thereby be allowed to read, I’m guessing the plugin tries to write the file without checking for existence, which is then denied.
Please fix by adhering to “tmp hygiene” standards: use a session-/user-unique folder for all things (e.g. File.createTempDirectory
).
FWIW, under GNU/Linux, a cache folder in the home directory may be the ideal solution, e.g. via XDG_CACHE_HOME
(available on many modern distributions, afaik). It’s probably a pain to get it to work in every scenario, and I don’t know if there’s a good Java wrapper for those things, so I feel for you.
Issue Analytics
- State:
- Created 5 years ago
- Comments:6 (4 by maintainers)
Top Results From Across the Web
Multi-User Editing Local Server Issues - Unreal Engine Forums
Hello, I am having an issue with Multi-User Editing. My main problem is that I cannot even start a Local server. Below is...
Read more >Error after updating · Issue #132 · moroen/IKEA-Tradfri-plugin
Hello I have errors after updating the plugin (IKEA TRADFRI) Failed to initialize tradfri module. (IKEA TRADFRI) Unable to find tradfricoap ...
Read more >2. Installation - Modelur User Guide
Upon installation, Modelur is saved to Sketchup's default Plugins folder, ... Modelur installation for every user of the computer when it is initialized....
Read more >Troubleshooting guide for testing with the Performance SDK
Error example - Certificate thumbprint errors. Initialization method MS.Dynamics.Performance.Application.TaskRecorder.TestRecord1Base.TestSetup ...
Read more >cakephp - CakePHP4 - How to create multiple user login with ...
public function initialize() { parent::initialize(); // . ... How can I do the same thing in CakePHP4 version with Authentication plugin?
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@reitzig, now temp files are always put into user’s home directory under
.markdownNavigator
subdirectory.@reitzig, I add a temp folder under the user directory. I agree that this is a more portable solution.
Another option is to use an embedded web server to eliminate the need for file URIs to the file system.