From owner-freebsd-questions Fri Oct 22 17: 3:14 1999 Delivered-To: freebsd-questions@freebsd.org Received: from timingpdc.timing.com (timingpdc.timing.com [206.168.13.194]) by hub.freebsd.org (Postfix) with ESMTP id B5E1414FC3 for ; Fri, 22 Oct 1999 17:03:07 -0700 (PDT) (envelope-from jhein@timing.com) Received: from taz.timing.com ([206.168.13.210]) by timingpdc.timing.com (Post.Office MTA v3.1.2 release (PO205-101c) ID# 103-49575U100L2S100) with ESMTP id AAA301; Fri, 22 Oct 1999 18:03:40 -0600 Received: (from jhein@localhost) by taz.timing.com (8.8.7/8.8.7) id SAA26145; Fri, 22 Oct 1999 18:03:05 -0600 X-Authentication-Warning: taz.timing.com: jhein set sender to jhein@taz.timing.com using -f MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <14352.64313.415.427020@taz.timing.com> Date: Fri, 22 Oct 1999 18:03:04 -0600 (MDT) From: "John E. Hein" To: Jeff Gray Cc: Questions at FreeBSD Subject: Re: newbie kernel question- strip problem In-Reply-To: References: X-Mailer: VM 6.75 under Emacs 20.4.1 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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