summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author Robby Workman <rworkman@slackbuilds.org>2013-11-11 11:55:11 -0600
committer Robby Workman <rworkman@slackbuilds.org>2013-11-11 11:55:11 -0600
commitdd7b77985b2fe28d4990d9a59da540e9a27bf655 (patch)
tree8a461a4f500b6716de76063858424625c916218e
parent9c0d2901e9e108ea396ce2135ebd772b216d9015 (diff)
downloadtemplates-dd7b77985b2fe28d4990d9a59da540e9a27bf655.tar.gz
templates-dd7b77985b2fe28d4990d9a59da540e9a27bf655.tar.xz
templates: check for mode 750 in permissions
Thanks to Nick Warne <nick@linicks.net> for the suggestion.
-rw-r--r--autotools-template.SlackBuild4
-rw-r--r--cmake-template.SlackBuild4
-rw-r--r--perl-template.SlackBuild4
-rw-r--r--python-template.SlackBuild4
4 files changed, 8 insertions, 8 deletions
diff --git a/autotools-template.SlackBuild b/autotools-template.SlackBuild
index 0a35749..507fa3d 100644
--- a/autotools-template.SlackBuild
+++ b/autotools-template.SlackBuild
@@ -95,8 +95,8 @@ tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
- \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
- -exec chmod 755 {} \; -o \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
diff --git a/cmake-template.SlackBuild b/cmake-template.SlackBuild
index a42beec..48ee7e2 100644
--- a/cmake-template.SlackBuild
+++ b/cmake-template.SlackBuild
@@ -92,8 +92,8 @@ tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
- \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
- -exec chmod 755 {} \; -o \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
diff --git a/perl-template.SlackBuild b/perl-template.SlackBuild
index 446e094..d354451 100644
--- a/perl-template.SlackBuild
+++ b/perl-template.SlackBuild
@@ -94,8 +94,8 @@ tar xvf $CWD/$SRCNAM-$VERSION.tar.gz
cd $SRCNAM-$VERSION
chown -R root:root .
find -L . \
- \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
- -exec chmod 755 {} \; -o \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
diff --git a/python-template.SlackBuild b/python-template.SlackBuild
index 027346c..a26f188 100644
--- a/python-template.SlackBuild
+++ b/python-template.SlackBuild
@@ -92,8 +92,8 @@ tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
- \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
- -exec chmod 755 {} \; -o \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;