Subject: error with strip and install
To: None <port-pmax@NetBSD.ORG>
From: None <gord@engg.ucalgary.ca>
List: port-pmax
Date: 12/13/1995 14:09:19
Hi!

I've found a problem using the 1.1 install with the -s option--it
ignores permissions given on the command line.

Here is the example:

b22# install -c -o gord -g bin -m 4555 login login.new
b22# ls -l login.new
-r-sr-xr-x  1 gord  bin  721800 Dec 13 14:07 login.new
b22# install -s -c -o gord -g bin -m 4555 login login.new
b22# ls -l login.new
-rw-------  1 root  wheel  481600 Dec 13 14:08 login.new
b22#

The second command does indeed strip the binary, but it also ignores
the ownership and permission flags.

Is there a fix available, or should I go snooping through source code?

Thanks,

--Gord

-- 
   Gord Matzigkeit    |    This is my NetBSD development account
gord@engg.ucalgary.ca |  Please send mail to gord@enci.ucalgary.ca