mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-09-12 15:44:40 +08:00
build(linux): Ensure that target files are not group writable
Should fix #710. Will move all 0775 => 0755 and 0664 => 0644
This commit is contained in:
parent
f469fd29d8
commit
8cd3176574
3 changed files with 6 additions and 1 deletions
|
@ -2,6 +2,8 @@ nylas: arch-dependent-file-in-usr-share
|
||||||
nylas: changelog-file-missing-in-native-package
|
nylas: changelog-file-missing-in-native-package
|
||||||
nylas: copyright-file-contains-full-apache-2-license
|
nylas: copyright-file-contains-full-apache-2-license
|
||||||
nylas: copyright-should-refer-to-common-license-file-for-apache-2
|
nylas: copyright-should-refer-to-common-license-file-for-apache-2
|
||||||
|
nylas: copyright-should-refer-to-common-license-file-for-lgpl
|
||||||
nylas: embedded-library
|
nylas: embedded-library
|
||||||
nylas: package-installs-python-bytecode
|
nylas: package-installs-python-bytecode
|
||||||
nylas: unstripped-binary-or-object
|
nylas: unstripped-binary-or-object
|
||||||
|
nylas: extra-license-file
|
||||||
|
|
|
@ -7,5 +7,5 @@ Icon=<%= iconName %>
|
||||||
Type=Application
|
Type=Application
|
||||||
StartupNotify=true
|
StartupNotify=true
|
||||||
StartupWMClass=Nylas N1
|
StartupWMClass=Nylas N1
|
||||||
Categories=GNOME;GTK;Utility;EmailClient;Development;
|
Categories=GNOME;GTK;Email;Utility;Development;
|
||||||
MimeType=text/plain;x-scheme-handler/mailto;x-scheme-handler/nylas;
|
MimeType=text/plain;x-scheme-handler/mailto;x-scheme-handler/nylas;
|
||||||
|
|
|
@ -50,6 +50,9 @@ cp "$TARGET/usr/share/nylas/resources/LICENSE.md" "$TARGET/usr/share/doc/nylas/c
|
||||||
mkdir -m $FILE_MODE -p "$TARGET/usr/share/lintian/overrides"
|
mkdir -m $FILE_MODE -p "$TARGET/usr/share/lintian/overrides"
|
||||||
cp "$ROOT/build/resources/linux/debian/lintian-overrides" "$TARGET/usr/share/lintian/overrides/nylas"
|
cp "$ROOT/build/resources/linux/debian/lintian-overrides" "$TARGET/usr/share/lintian/overrides/nylas"
|
||||||
|
|
||||||
|
# Remove group write from all files
|
||||||
|
chmod -R g-w "$TARGET";
|
||||||
|
|
||||||
# Remove executable bit from .node files
|
# Remove executable bit from .node files
|
||||||
find "$TARGET" -type f -name "*.node" -exec chmod a-x {} \;
|
find "$TARGET" -type f -name "*.node" -exec chmod a-x {} \;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue