Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 930639 - net-im/armcord-bin-3.2.6: Apparent permissions issue prevents launch
Summary: net-im/armcord-bin-3.2.6: Apparent permissions issue prevents launch
Status: RESOLVED FIXED
Alias: None
Product: GURU
Classification: Unclassified
Component: Package issues (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: AquaOneLove
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-04-24 18:47 UTC by Jay Faulkner
Modified: 2024-04-25 22:41 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 Jay Faulkner 2024-04-24 18:47:38 UTC
I installed this package. It would not launch and immediately crashed with no output. However, it ran -- albeit terribly, and only with `--no-sandbox` as root. I dug into the issue using strace and found permissions errors in strace output, indicating it could not read /opt/armcord-bin/resources/app.asar. 

By running the following commands locally:
`chmod a+rx /opt/armcord-bin/resources`
`chmod a+r /opt/armcord-bin/resources/*`

I fixed the issue, and now it's running.
chmod

Reproducible: Always

Steps to Reproduce:
1. Install armcord-bin
2. Watch it not work
3. Change permissions in /opt/armcord-bin/resources
4. It works!
Comment 1 AquaOneLove 2024-04-24 23:14:19 UTC
Pushed workaround to the dev branch, thanks for your report!
Comment 2 Larry the Git Cow gentoo-dev 2024-04-25 21:49:02 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=e29fde7446d0cbff2c3c9c03343976fa800f6c27

commit e29fde7446d0cbff2c3c9c03343976fa800f6c27
Author:     AquaOneLove <aquaonelove@proton.me>
AuthorDate: 2024-04-24 22:43:02 +0000
Commit:     AquaOneLove <aquaonelove@proton.me>
CommitDate: 2024-04-24 22:44:07 +0000

    net-im/armcord-bin:
    
    Bug: https://bugs.gentoo.org/930639
    Signed-off-by: AquaOneLove <aquaonelove@proton.me>
    
    Fix issue with permissions for /opt/armcord-bin/resources

 net-im/armcord-bin/armcord-bin-3.2.6.ebuild | 4 ++++
 1 file changed, 4 insertions(+)