Subject: pkg/34968: "checkperms" is broken under Mac OS X
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: Matthias Scheler <tron@colwyn.zhadum.org.uk>
List: pkgsrc-bugs
Date: 11/02/2006 10:45:00
>Number:         34968
>Category:       pkg
>Synopsis:       "checkperms" is broken under Mac OS X
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Nov 02 10:45:00 +0000 2006
>Originator:     Matthias Scheler
>Release:        Darwin 8.8.0
>Organization:
Matthias Scheler                                  http://zhadum.org.uk/
>Environment:
System: Darwin excalibur.zhadum.org.uk 8.8.0 Darwin Kernel Version 8.8.0: Fri Sep  8 17:18:57 PDT 2006; root:xnu-792.12.6.obj~1/RELEASE_PPC Power Macintosh powerpc
Architecture: powerpc
Machine: Power Macintosh
>Description:
"checkperms" doesn't work under Mac OS X:

tron@excalibur:~>file /bin/ls
/bin/ls: Mach-O executable ppc
tron@excalibur:~>echo /bin/ls | checkperms -c
tron@excalibur:~>/bin/ls -l /bin/ls
-r-xr-xr-x   1 root  wheel  32460 Feb 28  2006 /bin/ls
warning: /bin/ls: executable bit is set on non-executable file.
0 errors and 1 warnings.

>How-To-Repeat:
echo /bin/ls | checkperms -c
warning: /bin/ls: executable bit is set on non-executable file.
0 errors and 1 warnings.

>Fix:
The warning which ask users to install "chechperms" should be removed
until this tool really works on all the supported pkgsrc platforms.