Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 6 Sep 1998 14:40:46 +0100
From:      Ben Smithurst <ben@scientia.demon.co.uk>
To:        Khetan Gajjar <khetan@iafrica.com>
Cc:        questions@FreeBSD.ORG
Subject:   Re: Un-deletable file
Message-ID:  <19980906144046.A10213@scientia.demon.co.uk>
In-Reply-To: <Pine.BSF.4.02A.9809061450400.1189-100000@chain.freebsd.os.org.za>
References:  <19980906002544.B688@scientia.demon.co.uk> <Pine.BSF.4.02A.9809061450400.1189-100000@chain.freebsd.os.org.za>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19980906144046.A10213>