diff options
Diffstat (limited to 'system/set_rlimits/set_rlimits.SlackBuild')
-rw-r--r-- | system/set_rlimits/set_rlimits.SlackBuild | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/system/set_rlimits/set_rlimits.SlackBuild b/system/set_rlimits/set_rlimits.SlackBuild index a63d64cd9a..e6f9ead423 100644 --- a/system/set_rlimits/set_rlimits.SlackBuild +++ b/system/set_rlimits/set_rlimits.SlackBuild @@ -46,7 +46,11 @@ rm -rf $PKGNAME-$VERSION tar xvf $CWD/$PKGNAME-$VERSION.tgz cd $PKGNAME-$VERSION chown -R root:root . -chmod -R u+w,go+r-w,a-s . +find -L . \ + \( -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 {} \; # Fixup CFLAGS usage and add DESTDIR support patch -p1 < $CWD/Makefile.patch |