From owner-freebsd-bugs@FreeBSD.ORG Thu Feb 24 18:10:19 2005 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 235E816A4CE for ; Thu, 24 Feb 2005 18:10:19 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id D260743D53 for ; Thu, 24 Feb 2005 18:10:18 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.1/8.13.1) with ESMTP id j1OIAIdQ088174 for ; Thu, 24 Feb 2005 18:10:18 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.1/8.13.1/Submit) id j1OIAIXI088173; Thu, 24 Feb 2005 18:10:18 GMT (envelope-from gnats) Resent-Date: Thu, 24 Feb 2005 18:10:18 GMT Resent-Message-Id: <200502241810.j1OIAIXI088173@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Johannes Weiner Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E09E916A4CE for ; Thu, 24 Feb 2005 18:00:46 +0000 (GMT) Received: from www.freebsd.org (www.freebsd.org [216.136.204.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id CA04B43D53 for ; Thu, 24 Feb 2005 18:00:46 +0000 (GMT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.13.1/8.13.1) with ESMTP id j1OI0kKw072481 for ; Thu, 24 Feb 2005 18:00:46 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.13.1/8.13.1/Submit) id j1OI0k6d072480; Thu, 24 Feb 2005 18:00:46 GMT (envelope-from nobody) Message-Id: <200502241800.j1OI0k6d072480@www.freebsd.org> Date: Thu, 24 Feb 2005 18:00:46 GMT From: Johannes Weiner To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-2.3 Subject: misc/78036: CVSUP ignores chflags X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Feb 2005 18:10:19 -0000 >Number: 78036 >Category: misc >Synopsis: CVSUP ignores chflags >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Feb 24 18:10:18 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Johannes Weiner >Release: 5.3-STABLE >Organization: >Environment: FreeBSD paranoise 5.3-STABLE FreeBSD 5.3-STABLE #2: Tue Feb 22 23:09:46 CET 2005 root@paranoise:/usr/src/sys/i386/compile/PARANOISE i386 >Description: CVSUP seems to ignore file chflags. I set a schg flag on a file to protect from being updated by cvsup, but the file still gets updated. I'm aware of the refuse system for cvsup now, but I think this is a security bug anyway. [Bossmc can confirm and reproduce this also] >How-To-Repeat: echo foo > /usr/src/sys/bar chflags schg /usr/src/sys/bar then run cvsup for src-all with option 'delete' and /usr/src/sys/bar will be deleted. >Fix: >Release-Note: >Audit-Trail: >Unformatted: