OpenPKG CVS Repository http://cvs.openpkg.org/ ____________________________________________________________________________
Server: cvs.openpkg.org Name: Ralf S. Engelschall Root: /e/openpkg/cvs Email: [EMAIL PROTECTED] Module: openpkg-re Date: 23-Jul-2003 17:38:59 Branch: HEAD Handle: 2003072316385900 Modified files: openpkg-re rpmlint.pl Log: fix permission test Summary: Revision Changes Path 1.10 +1 -1 openpkg-re/rpmlint.pl ____________________________________________________________________________ patch -p0 <<'@@ .' Index: openpkg-re/rpmlint.pl ============================================================================ $ cvs diff -u -r1.9 -r1.10 rpmlint.pl --- openpkg-re/rpmlint.pl 23 Jul 2003 15:37:35 -0000 1.9 +++ openpkg-re/rpmlint.pl 23 Jul 2003 15:38:59 -0000 1.10 @@ -401,7 +401,7 @@ foreach my $path (keys(%{$info->{ls}})) { my $perm = $info->{ls}->{$path}->{'perm'}; if ($path =~ m/^$prefix\/(bin|sbin)\/[^\/]+$/) { - if ($perm !~ m|^[^d]..[xs]..[xs]..[xs]$|) { + if ($perm !~ m|^[^d]..[xs]..[xs]..[xt]$|) { &lint_warning($rpm, "executable file \"$path\" has permissions \"$perm\" only (expected it to be executable by everyone)"); } } @@ . ______________________________________________________________________ The OpenPKG Project www.openpkg.org CVS Repository Commit List [EMAIL PROTECTED]