From c2f0371119ba5eb6cd81e281d20df1133373e8e8 Mon Sep 17 00:00:00 2001 From: Mark Haslinghuis Date: Wed, 28 Sep 2022 18:51:35 +0200 Subject: [PATCH] Fix permissions in debian package --- gulpfile.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gulpfile.js b/gulpfile.js index 00d02652..ae7ac4e2 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -737,6 +737,9 @@ function release_deb(arch, appDirectory, done) { `chown root:root ${LINUX_INSTALL_DIR}`, `chown -R root:root ${LINUX_INSTALL_DIR}/${metadata.name}`, `xdg-desktop-menu install ${LINUX_INSTALL_DIR}/${metadata.name}/${metadata.name}.desktop`, + `chmod +xr ${LINUX_INSTALL_DIR}/${metadata.name}/chrome_crashpad_handler`, + `chmod +xr ${LINUX_INSTALL_DIR}/${metadata.name}/${metadata.name}`, + `chmod -R +Xr ${LINUX_INSTALL_DIR}/${metadata.name}/`, ], prerm: [`xdg-desktop-menu uninstall ${metadata.name}.desktop`], depends: ['libgconf-2-4', 'libatomic1'],