Commit fa3fd618 authored by Vitaly Lipatov's avatar Vitaly Lipatov

epm repack.d/common.sh: always set SUID for chrome-sandbox (ignore userns)

parent 46003c14
......@@ -309,7 +309,7 @@ fix_chrome_sandbox()
# CHECKME: Also userns can be enabled via sysctl-conf-userns package install
userns_path='/proc/sys/kernel/unprivileged_userns_clone'
userns_val="$(cat $userns_path 2>/dev/null)"
[ "$userns_val" = '1' ] && return
#[ "$userns_val" = '1' ] && return
[ -n "$sandbox" ] || sandbox="$PRODUCTDIR/chrome-sandbox"
[ -e "$BUILDROOT$sandbox" ] || return 0
chmod -v 4711 "$BUILDROOT$sandbox"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment