Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 936560 - dev-util/clion-2024.1: cannot open folder due to permission issue
Summary: dev-util/clion-2024.1: cannot open folder due to permission issue
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Christian Strahl
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-07-23 16:26 UTC by Letu Ren
Modified: 2025-01-05 13:03 UTC (History)
6 users (show)

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


Attachments
Clion log (clion.log,12.27 KB, text/plain)
2024-07-23 16:28 UTC, Letu Ren
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Letu Ren 2024-07-23 16:26:54 UTC
Step to reproduce:
1. `sudo emerge =dev-util/clion-2024.1`
2. `clion`
3. Try to open a folder, and it fails. Log is listed as follows. While Clion 2024.1 installed by jetbrains toolbox works just fine, I think there are some issues in package method.

```
Cannot run program "/opt/clion/plugins/clion-radler/DotFiles/linux-x64/Rider.Backend": error=13, Permission denied [Plugin: org.jetbrains.plugins.clion.radler]
```

```
SEVERE - #c.i.p.instanceContainer - Cannot create 
```
Comment 1 Letu Ren 2024-07-23 16:28:27 UTC
Created attachment 898197 [details]
Clion log
Comment 2 2395386903 2024-08-13 04:12:54 UTC
I also encountered this problem. How didi you solve the problem? Can you please share?
Comment 3 Lucio Sauer 2024-10-27 22:28:32 UTC
Fixed in

commit 4d4dc7699b0d4766d436546fc7762743b653efaf
Author: darksh1ne <d4rksh1ne@proton.me>
Date:   Thu Oct 10 14:17:39 2024 +0300

    dev-util/clion: fix permissions of deliverable in clion-2024.1.ebuild
    
    Set 755 permissions to
    "${dir}"/plugins/clion-radler/DotFiles/linux-x64/Rider.Backend. This is
    to fix the following error upon CLion startup and further inability to
    start the Main window: com.intellij.diagnostic.PluginException: Cannot
    run program
    "/opt/clion-2024.2.1/plugins/clion-radler/DotFiles/linux-x64/Rider.Backend":
    error=13, Permission denied [Plugin: org.jetbrains.plugins.clion.radler]
    
    Signed-off-by: darksh1ne <d4rksh1ne@proton.me>
    Closes: https://github.com/gentoo/gentoo/pull/38936
    Signed-off-by: Viorel Munteanu <ceamac@gentoo.org>