From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Paul Eggert Newsgroups: gmane.emacs.devel Subject: Re: [PATCH] POSIX ACL support Date: Mon, 19 Nov 2012 13:55:56 -0800 Message-ID: <50AAAAEC.5040500@cs.ucla.edu> References: <878v9yr1h1.fsf@silenus.orebokech.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1353362165 25394 80.91.229.3 (19 Nov 2012 21:56:05 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 19 Nov 2012 21:56:05 +0000 (UTC) Cc: Romain Francoise , emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Nov 19 22:56:16 2012 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1TaZK9-0001ff-16 for ged-emacs-devel@m.gmane.org; Mon, 19 Nov 2012 22:56:13 +0100 Original-Received: from localhost ([::1]:45552 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TaZJy-0004pb-Qt for ged-emacs-devel@m.gmane.org; Mon, 19 Nov 2012 16:56:02 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:57517) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TaZJw-0004na-CJ for emacs-devel@gnu.org; Mon, 19 Nov 2012 16:56:01 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TaZJv-0002F9-C1 for emacs-devel@gnu.org; Mon, 19 Nov 2012 16:56:00 -0500 Original-Received: from smtp.cs.ucla.edu ([131.179.128.62]:47520) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TaZJv-0002F3-5m; Mon, 19 Nov 2012 16:55:59 -0500 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp.cs.ucla.edu (Postfix) with ESMTP id B773FA60003; Mon, 19 Nov 2012 13:55:57 -0800 (PST) X-Virus-Scanned: amavisd-new at smtp.cs.ucla.edu Original-Received: from smtp.cs.ucla.edu ([127.0.0.1]) by localhost (smtp.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 4+V65dehxv6W; Mon, 19 Nov 2012 13:55:57 -0800 (PST) Original-Received: from penguin.cs.ucla.edu (Penguin.CS.UCLA.EDU [131.179.64.200]) by smtp.cs.ucla.edu (Postfix) with ESMTPSA id 623E6A60001; Mon, 19 Nov 2012 13:55:57 -0800 (PST) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:16.0) Gecko/20121029 Thunderbird/16.0.2 In-Reply-To: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 131.179.128.62 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:154970 Archived-At: On 11/19/12 10:11, Stefan Monnier wrote: > Yes, that's a problem. We should consolidate `modes', `context', and > `acl' into a `metadata' argument. Or we could take a simpler approach, and just copy all the metadata from the original file to the backup. It's pretty rare that one wants to back up just some of this stuff, and not the rest. This would be a simpler than having individual arguments to copy just this and that, arguments that I expect in practice are rarely used properly. Which reminds me, this area is busted for a different reason: the backup-by-copying-when-mismatch algorithm is done incorrectly on most modern GNUish or POSIXish hosts, in the sense that copies are not being made when they should be, and the resulting file metadata is incorrect (wrong group ID). I'll file a bug report about that when I find the time.