Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 743739 - =net-im/element-desktop-bin-1.7.7: incorrect permissions on the SUID helper
Summary: =net-im/element-desktop-bin-1.7.7: incorrect permissions on the SUID helper
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Stefan Strogin
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-09-20 13:27 UTC by Marek Szuba (RETIRED)
Modified: 2020-10-16 11:05 UTC (History)
3 users (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 Marek Szuba (RETIRED) archtester gentoo-dev 2020-09-20 13:27:31 UTC
Current ebuild installs /opt/Element/chrome-sandbox with 0755 permissions, which prevents Element from starting:

The SUID sandbox helper binary was found, but is not configured correctly. Rather than run without sandboxing I'm aborting now. You need to make sure that /opt/Element/chrome-sandbox is owned by root and has mode 4755.

net-im/signal-desktop-bin had exactly the same problem not long ago.
Comment 1 Stefan Strogin gentoo-dev 2020-10-16 11:04:45 UTC
Thanks for the report.
Comment 2 Larry the Git Cow gentoo-dev 2020-10-16 11:05:10 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6872791c8b5ab409e04cea76bb1b8f418bd4b02d

commit 6872791c8b5ab409e04cea76bb1b8f418bd4b02d
Author:     Stefan Strogin <steils@gentoo.org>
AuthorDate: 2020-10-16 10:50:05 +0000
Commit:     Stefan Strogin <steils@gentoo.org>
CommitDate: 2020-10-16 11:03:34 +0000

    net-im/element-desktop-bin: upgrade 1.7.7 -> 1.7.9
    
    Set SUID bit for /opt/Element/chrome-sandbox.
    
    Closes: https://bugs.gentoo.org/743739
    Package-Manager: Portage-3.0.8, Repoman-3.0.1
    Signed-off-by: Stefan Strogin <steils@gentoo.org>

 net-im/element-desktop-bin/Manifest                                     | 2 +-
 ...lement-desktop-bin-1.7.7.ebuild => element-desktop-bin-1.7.9.ebuild} | 2 ++
 2 files changed, 3 insertions(+), 1 deletion(-)