mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-01-27 10:28:31 +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
4f5aea03dd
commit
c8dcab5e6a
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: 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-lgpl
|
||||
nylas: embedded-library
|
||||
nylas: package-installs-python-bytecode
|
||||
nylas: unstripped-binary-or-object
|
||||
nylas: extra-license-file
|
||||
|
|
|
@ -7,5 +7,5 @@ Icon=<%= iconName %>
|
|||
Type=Application
|
||||
StartupNotify=true
|
||||
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;
|
||||
|
|
|
@ -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"
|
||||
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
|
||||
find "$TARGET" -type f -name "*.node" -exec chmod a-x {} \;
|
||||
|
||||
|
|
Loading…
Reference in a new issue