From owner-freebsd-hackers@FreeBSD.ORG Wed Jan 11 15:59:58 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 424D116A41F for ; Wed, 11 Jan 2006 15:59:58 +0000 (GMT) (envelope-from rwatson@FreeBSD.org) Received: from cyrus.watson.org (cyrus.watson.org [209.31.154.42]) by mx1.FreeBSD.org (Postfix) with ESMTP id 16DF143D77 for ; Wed, 11 Jan 2006 15:59:51 +0000 (GMT) (envelope-from rwatson@FreeBSD.org) Received: from fledge.watson.org (fledge.watson.org [209.31.154.41]) by cyrus.watson.org (Postfix) with ESMTP id 4D54546B82; Wed, 11 Jan 2006 10:59:49 -0500 (EST) Date: Wed, 11 Jan 2006 15:59:53 +0000 (GMT) From: Robert Watson X-X-Sender: robert@fledge.watson.org To: Ceri Davies In-Reply-To: <7E919BA5-DF54-445D-98CA-E57E32B60892@submonkey.net> Message-ID: <20060111155348.J28748@fledge.watson.org> References: <5e575c8a0601051043r46ccfea1s352a5ea8ea7010a1@mail.gmail.com> <7E919BA5-DF54-445D-98CA-E57E32B60892@submonkey.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-hackers@freebsd.org, Ahnjoan Amous Subject: Re: setfacl file modification time X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Jan 2006 15:59:58 -0000 On Thu, 5 Jan 2006, Ceri Davies wrote: > On 5 Jan 2006, at 18:43, Ahnjoan Amous wrote: > >> In 5.2.1-RELEASE, setfacl updates the modification time of the file >> when acls are changed. I haven't been able to find any complaints >> about this behavior, is this something folks on the list would expect >> when using setfacl? If so, does anyone know a work around? > > PR 76818 is open for this issue, but there is no progress logged at present. This likely occurs because EA writes modify the last modification timestamp. I can imagine a couple of possible avenues to explore in fixing it, including: (1) Make system name space EA writes not update the modification time. (2) Add a flag to allow EA writes to be marked as not updating the modification time. It could be POSIX.1e has something to say about time stamp modifications for setfacl; personally I'd expect it to match the behavior of chmod. And I believe chmod doesn't update the time stamp. Robert N M Watson