Subject: pkg/22111: bootstrap-pkgsrc.tar.gz has bad file permissions for executables
To: None <gnats-bugs@gnats.netbsd.org>
From: None <nobody@rockwellcollins.com>
List: netbsd-bugs
Date: 07/09/2003 18:47:22
>Number:         22111
>Category:       pkg
>Synopsis:       bootstrap-pkgsrc.tar.gz has bad file permissions for executables
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Jul 09 18:48:01 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator:     nobody
>Release:        NetBSD-current on Solaris 2.6, 8, 9
>Organization:
rockwellcollins.com
>Environment:
SunOS macchump 5.8 Generic_108528-20 sun4u sparc SUNW,Ultra-5_10
>Description:
There are a number of scripts in bootstrap-pkgsrc.tar.gz with
modes that no longer have the execute bits set.



>How-To-Repeat:
# gzcat bootstrap-pkgsrc-20030623.tar.gz | tar xvf -
or
# gzcat bootstrap-pkgsrc-20030701.tar.gz | tar xvf -
# cd bootstrap-pkgsrc
# ./mkbinarykit
./mkbinarykit: cannot execute
>Fix:
chmod 0755 bootstrap-pkgsrc/bmake/configure
chmod 0755 bootstrap-pkgsrc/bmake/find_lib.sh
chmod 0755 bootstrap-pkgsrc/bmake/install-sh
chmod 0755 bootstrap-pkgsrc/bmake/machine.sh
chmod 0755 bootstrap-pkgsrc/bmake/mkdeps.sh
chmod 0755 bootstrap-pkgsrc/bootstrap
chmod 0755 bootstrap-pkgsrc/cleanup
chmod 0755 bootstrap-pkgsrc/mkbinarykit
chmod 0755 bootstrap-pkgsrc/pkg.sh
chmod 0755 bootstrap-pkgsrc/ufsdiskimage
chmod 0755 bootstrap-pkgsrc/digest/config.guess
chmod 0755 bootstrap-pkgsrc/digest/config.sub
chmod 0755 bootstrap-pkgsrc/digest/configure
chmod 0755 bootstrap-pkgsrc/digest/install-sh
chmod 0755 bootstrap-pkgsrc/digest/missing
chmod 0755 bootstrap-pkgsrc/digest/mkinstalldirs
chmod 0755 bootstrap-pkgsrc/digest/regress.sh
chmod 0755 bootstrap-pkgsrc/files/install-sh
chmod 0755 bootstrap-pkgsrc/lukemftp/configure
chmod 0755 bootstrap-pkgsrc/lukemftp/install-sh
chmod 0755 bootstrap-pkgsrc/mtree/config.guess
chmod 0755 bootstrap-pkgsrc/mtree/config.sub
chmod 0755 bootstrap-pkgsrc/mtree/configure
chmod 0755 bootstrap-pkgsrc/mtree/install-sh
chmod 0755 bootstrap-pkgsrc/pax/config.guess
chmod 0755 bootstrap-pkgsrc/pax/config.sub
chmod 0755 bootstrap-pkgsrc/pax/configure
chmod 0755 bootstrap-pkgsrc/pax/install-sh
chmod 0755 bootstrap-pkgsrc/pkg_install/configure
chmod 0755 bootstrap-pkgsrc/pkg_install/install-sh

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