[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[SCM] Debian package checker branch, master, updated. 2.4.3-132-g0a42882



The following commit has been merged in the master branch:
commit 0a428822e5e05be8773376da5d920ad7297d355f
Author: Niels Thykier <niels@thykier.net>
Date:   Mon Jan 17 00:04:34 2011 +0100

    Removed incorrect printing of permissions
    
    executable-is-not-world-readable was some times printed with
    $perm != 0755, which made little sense.

diff --git a/checks/files b/checks/files
index e42cfa6..4d16101 100644
--- a/checks/files
+++ b/checks/files
@@ -989,7 +989,7 @@ foreach my $file (@{$info->sorted_index}) {
 	    } else {
 		if (($operm & 0444) != 0444) {
 		    tag "executable-is-not-world-readable", $file,
-			sprintf("%04o != 0755",$operm);
+			sprintf("%04o",$operm);
 		} elsif ($operm != 0755) {
 		    tag "non-standard-executable-perm", $file,
 			sprintf("%04o != 0755",$operm);

-- 
Debian package checker


Reply to: