Skip to content

Commit

Permalink
fix: setuid helper permission (microsoft#126798)
Browse files Browse the repository at this point in the history
* ci: fix setuid helper binary permission

* ci: allow privilege for CLONE_NEWPID | CLONE_NEWNET

* ci: fix chrome-sandbox permission with rpm

* ci: fix permissions on snap

* ci: download electron earlier for arm builds
  • Loading branch information
deepak1556 authored Jun 22, 2021
1 parent dc29a02 commit 5765d8a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions linux/rpm/code.spec.template
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ update-mime-database /usr/share/mime &> /dev/null || :

%files
%defattr(-,root,root)
%attr(4755, root, root) /usr/share/@@NAME@@/chrome-sandbox

/usr/share/@@NAME@@/
/usr/share/applications/@@NAME@@.desktop
Expand Down
3 changes: 3 additions & 0 deletions linux/snap/snapcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@ parts:
- gnome
plugin: dump
source: .
override-build: |
snapcraftctl build
chmod 4755 $SNAPCRAFT_PART_INSTALL/usr/share/@@NAME@@/chrome-sandbox
stage-packages:
- ibus-gtk3
- fcitx-frontend-gtk3
Expand Down

0 comments on commit 5765d8a

Please sign in to comment.