Snap: Remove SUID from sandbox binary (#246307)

* debug

* remove SUID

* damn it

* remove unnecessary logs
This commit is contained in:
João Moreno
2025-04-11 15:44:37 +02:00
committed by GitHub
parent a4a4b63460
commit a82ba894c6

View File

@@ -61,6 +61,7 @@ parts:
override-build: |
snapcraftctl build
patchelf --force-rpath --set-rpath '$ORIGIN/../../lib/x86_64-linux-gnu:$ORIGIN:/snap/core20/current/lib/x86_64-linux-gnu' $SNAPCRAFT_PART_INSTALL/usr/share/@@NAME@@/chrome_crashpad_handler
chmod 0755 $SNAPCRAFT_PART_INSTALL/usr/share/@@NAME@@/chrome-sandbox
cleanup:
after:
- code