Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 800653 - dev-util/pycharm-professional markdown preview does not work due to file permissions
Summary: dev-util/pycharm-professional markdown preview does not work due to file perm...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Mikle Kolyada
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-07-05 13:19 UTC by Mathy Vanvoorden
Modified: 2021-07-05 14:20 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mathy Vanvoorden 2021-07-05 13:19:17 UTC
As described here:

https://youtrack.jetbrains.com/issue/IDEA-248140#focus=Comments-27-4622292.0-0

The following files need to have executable permissions in order for Markdown preview (and possibly other functionality) to work:

/opt/pycharm-professional/jbr/lib/jcef_helper
/opt/pycharm-professional/jbr/lib/chrome-sandbox
/opt/pycharm-professional/jbr/lib/jexec
/opt/pycharm-professional/jbr/lib/jspawnhelper

If you open a project that has a markdown file currently open, it will try to load the preview, fail because of the permissions and PyCharm will crash. After changing these files to 755 permissions everything works ok.

Creating an issue rather than a quick PR to fix this because I'm not sure if there might be security implications.
Comment 1 Mathy Vanvoorden 2021-07-05 13:20:21 UTC
PS: other JetBrains tools are (probably) also suffering the same issue, haven't verified.