Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 Oct 1999 18:03:04 -0600 (MDT)
From:      "John E. Hein" <jhein@timing.com>
To:        Jeff Gray <jwg@netbox.com>
Cc:        Questions at FreeBSD <freebsd-questions@freebsd.org>
Subject:   Re: newbie kernel question- strip problem
Message-ID:  <14352.64313.415.427020@taz.timing.com>
In-Reply-To: <Pine.BSF.4.10.9910221450060.4527-100000@cm-24-142-61-16.cableco-op.ispchannel.com>
References:  <Pine.BSF.4.10.9910221450060.4527-100000@cm-24-142-61-16.cableco-op.ispchannel.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Jeff Gray wrote at 14:59 -0700 on Oct 22:
 > So, I tried it but.....does not appear to work.
 > 
 > Running 3.3 Release
 > 
 > # pwd
 > /
 > # strip -g --strip-debug kernel
 > /usr/libexec/elf/strip: kernel: rename: Operation not permitted 
 > 
 > 
 > permissions are, 
 > -r-xr-xr-x   1 root  wheel  10691754 Oct 21 10:19 kernel
 > 
 > So, I tried, in preparation, 
 > # chmod 755 kernel
 > chmod: kernel: Operation not permitted  

do 'ls -lo /kernel'
then do 'man chflags' (nothing like curling up with a good man page)

(for a real example of chflags usage, do:
  cd /usr/src/sys/compile/YOURKERNEL ; make -n install
 then read the few lines that it spits out)


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?14352.64313.415.427020>