Subject: pkg/21702: gzip-base doesn't set execute 'x' permission on zcmp/zdiff/zforce/zgrep/zmore/znew
To: None <gnats-bugs@gnats.netbsd.org>
From: None <rquinn@sec.sprint.net>
List: netbsd-bugs
Date: 05/28/2003 14:43:12
>Number:         21702
>Category:       pkg
>Synopsis:       gzip-base doesn't set execute 'x' permission on zcmp/zdiff/zforce/zgrep/zmore/znew
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed May 28 14:44:01 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator:     Rob Quinn
>Release:        pkgsrc on Solaris2.8
>Organization:
>Environment:
SunOS crn-oss 5.8 Generic_108528-19 sun4u sparc SUNW,Netra-T4

>Description:
I'm using pkgsrc with a CVS update from this morning, 28 May 2003.  Several of the
wrapper scripts from gzip-base are installed without execute permission.

crn-oss:/usr/pkg/bin #ls -l z*
-r-xr-xr-x   3 bin      bin        96328 May 28 10:26 zcat*
-r--r--r--   2 bin      bin         2004 May 28 10:26 zcmp
-r--r--r--   2 bin      bin         2004 May 28 10:26 zdiff
-r--r--r--   1 bin      bin         1008 May 28 10:26 zforce
-r--r--r--   1 bin      bin         1337 May 28 10:26 zgrep
-r--r--r--   1 bin      bin         1072 May 28 10:26 zmore
-r--r--r--   1 bin      bin         3506 May 28 10:26 znew


 From the install:
crn-oss:/usr/pkgsrc/archivers/gzip-base #bmake install
[.....]
/usr/ucb/install -c -s -o bin -g bin -m 555 gzip /usr/pkg/bin/gzip
for f in zdiff zgrep zmore znew zforce gzexe; do  /usr/ucb/install -c -o bin -g bin -m 444 ${f} /usr/pkg/bin/${f}; done
[....]

>How-To-Repeat:

>Fix:
Seems like it's really a gzip problem and not pkgsrc.  In the Makefile it uses
$INSTALL_DATA instead of $INSTALL_PROGRAM to install $(SCRIPTS).

>Release-Note:
>Audit-Trail:
>Unformatted: