Date: Mon, 26 Jul 1999 22:59:04 +0100 From: Mark Ovens <markov@globalnet.co.uk> To: Parker Brown <phbrown@gte.net> Cc: Tech Support <freebsd-questions@freebsd.org> Subject: Re: Superuser not permitted to chmod on his own files Message-ID: <19990726225904.B272@marder-1> In-Reply-To: <379CD428.64C53F37@gte.net>; from Parker Brown on Mon, Jul 26, 1999 at 02:33:28PM -0700 References: <379CD428.64C53F37@gte.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Jul 26, 1999 at 02:33:28PM -0700, Parker Brown wrote:
> I'm trying some changes to get FreeBSD to recognise my sound board, and
> I don't want to leave the kernel I just built as the default. I leave
> /kernel.GENERIC in place but I wanted to delete the new /kernel and
> rename /kernel.old to /kernel, in other words get rid of the newly built
> kernel.
> All three of the files are 555 root wheel, as they should be, but I
> can't delete /kernel. I even tried to chmod o+w /kernel but I get a
> message that it is not allowed! And as root, I OWN the **** thing!
> Why is this happening, and how can I get around it? I was able to do
> this very operation the last time I rebuilt the kernel on this same
> release. What is happening?
>
It has the immutable flag set. Try ``chfalgs noschg /kernel''. man
chflags for more info.
> PB
>
>
>
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message
>
--
FreeBSD - The Power To Serve http://www.freebsd.org
My Webpage http://www.users.globalnet.co.uk/~markov
_______________________________________________________________
Mark Ovens, CNC Apps Engineer, Radan Computational Ltd. Bath UK
CAD/CAM solutions for Sheetmetal Working Industry
mailto:markov@globalnet.co.uk http://www.radan.com
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?19990726225904.B272>
