Date: Sun, 25 Oct 1998 22:18:37 -0800 (PST) From: Bryce Newall <data@dreamhaven.net> To: Brian Tiemann <btman@ugcs.caltech.edu> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Can't delete files as root? Message-ID: <Pine.NEB.3.96.981025221743.363i-100000@ds9.dreamhaven.org> In-Reply-To: <Pine.BSF.4.05.9810252213520.11428-100000@lionking.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 25 Oct 1998, Brian Tiemann wrote: > rm: aout/usr/src/tmp/usr/lib/aout/libc.so.3.1: Operation not permitted > rm: aout/usr/src/tmp/usr/lib/aout/libc_r.so.3.0: Operation not permitted > > -r--r--r-- 1 root wheel 493850 Oct 19 12:39 libc.so.3.1 > -r--r--r-- 1 root wheel 547350 Oct 19 12:39 libc_r.so.3.0 > > So how come I can neither chmod nor remove these files, even as > root? The schg flag is set on those files, which means you can't make changes to them (including deleting them). There's an ls option to see those flags, but I can't remember it. :) In any case, "chflags noschg <filename>" will solve your problem. Do that, and you'll be able to delete those files. ********************************************************************** * Bryce Newall * Email: data@dreamhaven.net * * WWW: http://home.dreamhaven.net/~data * * "Insanity takes its toll. Please have exact change." * ********************************************************************** 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?Pine.NEB.3.96.981025221743.363i-100000>