From owner-freebsd-security Mon Aug 30 11: 8:25 1999 Delivered-To: freebsd-security@freebsd.org Received: from rover.village.org (rover.village.org [204.144.255.49]) by hub.freebsd.org (Postfix) with ESMTP id 59783150B0 for ; Mon, 30 Aug 1999 11:08:14 -0700 (PDT) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (harmony.village.org [10.0.0.6]) by rover.village.org (8.9.3/8.9.3) with ESMTP id MAA03715; Mon, 30 Aug 1999 12:08:01 -0600 (MDT) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (localhost.village.org [127.0.0.1]) by harmony.village.org (8.9.3/8.8.3) with ESMTP id MAA04962; Mon, 30 Aug 1999 12:07:23 -0600 (MDT) Message-Id: <199908301807.MAA04962@harmony.village.org> To: "Rodney W. Grimes" Subject: Re: Not sure if you got it... Cc: bde@zeta.org.au (Bruce Evans), dynamo@ime.net, security@FreeBSD.ORG In-reply-to: Your message of "Mon, 30 Aug 1999 11:01:49 PDT." <199908301801.LAA66101@gndrsh.dnsmgr.net> References: <199908301801.LAA66101@gndrsh.dnsmgr.net> Date: Mon, 30 Aug 1999 12:07:23 -0600 From: Warner Losh Sender: owner-freebsd-security@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org In message <199908301801.LAA66101@gndrsh.dnsmgr.net> "Rodney W. Grimes" writes: : > In message <199908300307.NAA06836@godzilla.zeta.org.au> Bruce Evans writes: : > : >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'. : > : > Any objections to chflags nouflags going into the tree, modulo : > problems with the actual code that does it? : : I don't have a problem with that. : : > : > I'd also like to have a new flag to rm. -F. One -F will be : > chflags nouflags foo ; rm -f foo : > while two -F will be : > chflags 0 foo ; rm -f foo : : I have a problem with this, it means updating 1 more chunk of code : should the set of items in uflags change. I was going to define something like UF_USERFLAGS and SF_SYSFLAGS as well... Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-security" in the body of the message