From dd7b77985b2fe28d4990d9a59da540e9a27bf655 Mon Sep 17 00:00:00 2001 From: Robby Workman Date: Mon, 11 Nov 2013 11:55:11 -0600 Subject: templates: check for mode 750 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 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 {} \; -- cgit v1.2.3