From 4a05a20923cbef25bc79aba6f48d0e72b456a46a Mon Sep 17 00:00:00 2001 From: Robby Workman Date: Wed, 30 Oct 2013 23:41:24 -0500 Subject: templates: check for mode 640 in permissions Thanks to Nick Warne for the suggestion. --- autotools-template.SlackBuild | 4 ++-- cmake-template.SlackBuild | 4 ++-- perl-template.SlackBuild | 4 ++-- python-template.SlackBuild | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/autotools-template.SlackBuild b/autotools-template.SlackBuild index 6aa5b31..da5f61e 100644 --- a/autotools-template.SlackBuild +++ b/autotools-template.SlackBuild @@ -97,8 +97,8 @@ chown -R root:root . find . \ \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \ -exec chmod 755 {} \; -o \ - \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ - -exec chmod 644 {} \; + \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; # Your application will probably need different configure flags; # these are provided as an example only. diff --git a/cmake-template.SlackBuild b/cmake-template.SlackBuild index b15bcae..6e0b866 100644 --- a/cmake-template.SlackBuild +++ b/cmake-template.SlackBuild @@ -94,8 +94,8 @@ chown -R root:root . find . \ \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \ -exec chmod 755 {} \; -o \ - \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ - -exec chmod 644 {} \; + \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; # Your application will probably need different cmake flags; these are only # examples. You might use 'ccmake' to see the available flags... diff --git a/perl-template.SlackBuild b/perl-template.SlackBuild index ba9cb21..298e76e 100644 --- a/perl-template.SlackBuild +++ b/perl-template.SlackBuild @@ -96,8 +96,8 @@ chown -R root:root . find . \ \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \ -exec chmod 755 {} \; -o \ - \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ - -exec chmod 644 {} \; + \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; # Your application may need different flags; these are provided as examples # There seem to be two different methods for building perl apps: diff --git a/python-template.SlackBuild b/python-template.SlackBuild index 712a7a7..fc98132 100644 --- a/python-template.SlackBuild +++ b/python-template.SlackBuild @@ -94,8 +94,8 @@ chown -R root:root . find . \ \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \ -exec chmod 755 {} \; -o \ - \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ - -exec chmod 644 {} \; + \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; # Your application may need different options; this is only an example python setup.py install --root=$PKG -- cgit v1.2.3