From owner-freebsd-questions Sun Sep 6 07:41:53 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id HAA22918 for freebsd-questions-outgoing; Sun, 6 Sep 1998 07:41:53 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from scientia.demon.co.uk (scientia.demon.co.uk [212.228.14.13]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id HAA22908 for ; Sun, 6 Sep 1998 07:41:46 -0700 (PDT) (envelope-from ben@scientia.demon.co.uk) Received: from ben by scientia.demon.co.uk with local (Exim 2.02 #26) id 0zFf3e-0002fx-00; Sun, 6 Sep 1998 14:40:46 +0100 Date: Sun, 6 Sep 1998 14:40:46 +0100 From: Ben Smithurst To: Khetan Gajjar Cc: questions@FreeBSD.ORG Subject: Re: Un-deletable file Message-ID: <19980906144046.A10213@scientia.demon.co.uk> References: <19980906002544.B688@scientia.demon.co.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: User-Agent: Mutt/0.94.3i (FreeBSD 3.0-CURRENT i386) Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Khetan Gajjar wrote: > I don't know what this means, but I'd appreciate some pointing at the > right man pages. man chflags # to show what the flags are man ls # to show what the -o flag does > 95=[root@chain] /var/log/pop# \ls -lo popper.4.gz > + ls -lo popper.4.gz > brw-rw-r-- 1 1630430 4093666 uunlnk 105, 0x6661005f Jan 1 1970 popper.4.gz > 96=[root@chain] /var/log/pop# It has the user-undeleteable flag set. To remove it, $ chflags nouunlnk And then you can delete it, $ rm popper.4.gz -- Ben Smithurst : ben@scientia.demon.co.uk : http://www.scientia.demon.co.uk/ PGP: 0x99392F7D - 3D 89 87 42 CE CA 93 4C 68 32 0E D5 36 05 3D 16 http://www.scientia.demon.co.uk/ben/pgp-key.html (or use keyservers) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message