From owner-freebsd-questions Tue Jul 30 03:17:03 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id DAA05366 for questions-outgoing; Tue, 30 Jul 1996 03:17:03 -0700 (PDT) Received: from mail.EUnet.hu (mail.eunet.hu [193.225.28.100]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id DAA05357 for ; Tue, 30 Jul 1996 03:17:00 -0700 (PDT) Received: by mail.EUnet.hu, id MAA16255; Tue, 30 Jul 1996 12:16:33 +0200 Received: by CoDe.CoDe.hu (LAA01801); Tue, 30 Jul 1996 11:41:02 GMT From: Gabor Zahemszky Message-Id: <199607301141.LAA01801@CoDe.CoDe.hu> Subject: Re: Removing files To: freebsd-questions@freebsd.org Date: Tue, 30 Jul 1996 11:41:02 +0000 (GMT) Cc: graphix@iastate.edu In-Reply-To: <9607270855.AA13169@spiff.cc.iastate.edu> from "Kent Vander Velden" at Jul 27, 96 03:55:35 am X-Mailer: ELM [version 2.4 PL24] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > > > How can I remove the following files? > > pseudo: {722} ls -l /usr/lost+found/ > total 208 > c--Sr-xrwx 1 3830698 4539461 171, -253099873 Jan 29 1974 #003513* > -r-sr-xr-x 1 root bin 36864 Jul 5 22:43 #003555* > -r-sr-xr-x 1 root bin 20480 Jul 5 22:44 #003616* > -r-sr-xr-x 1 root bin 49152 Jul 5 22:45 #003648* > -r-sr-xr-x 1 root bin 16384 Jul 5 22:45 #003651* > -r-sr-xr-x 1 root bin 12288 Jul 5 22:45 #003655* > -r-sr-xr-x 1 root bin 16384 Jul 5 22:46 #003674* > -r-sr-xr-x 1 root bin 28672 Jul 5 22:47 #003733* > -r-sr-xr-x 1 root bin 32768 Jul 5 22:45 #003763* > > > rm: /usr/lost+found/#003648: Operation not permitted > rm: /usr/lost+found/#003651: Operation not permitted > rm: /usr/lost+found/#003655: Operation not permitted > rm: /usr/lost+found/#003674: Operation not permitted > rm: /usr/lost+found/#003733: Operation not permitted > rm: /usr/lost+found/#003763: Operation not permitted > rm: /usr/lost+found/#003555: Operation not permitted > rm: /usr/lost+found/#003616: Operation not permitted Are you sure: 1) you are root? 2) these files haven't got any ``flags'' (like immutable, or append-only)? (man 1 chflags;man 2 chflags) - try ls -lo /.... (I tried it, and with rm file, it asks, with rm -f file it only send the error) 3) the directory's mode bits are OK? -- Gabor Zahemszky -:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:- Earth is the cradle of human sense, but you can't stay in the cradle forever. Tsiolkovsky