Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 30 Aug 1999 13:07:57 +1000
From:      Bruce Evans <bde@zeta.org.au>
To:        bde@zeta.org.au, imp@village.org
Cc:        dynamo@ime.net, security@FreeBSD.ORG
Subject:   Re: Not sure if you got it...
Message-ID:  <199908300307.NAA06836@godzilla.zeta.org.au>

next in thread | raw e-mail | index | archive | help
>Is there a better way to turn off all the user flags then?

Turning them all off works of course:

    chflags dump,noopaque,nouappnd,nochg,nouunlnk

Is this better :-)?  It's not future-proof.  I'd prefer `chflags nouflags'.

cheflags.3 misdescribes the nodump flag.  It says that `dump' sets the
dump flag.  It doesn't say that users can set it.  It gives the worst
possible example for the use of `no' before a flag by giving `nodump'
as an example of turning off a flag.  Actually, `dump' clears the nodump
flag and `nodump' sets the nodump flag.

The `opaque' flag is not mentioned in chflags.3.

These bugs are fixed in Lite2.

Bruce


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-security" in the body of the message




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