From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Romain Francoise Newsgroups: gmane.emacs.devel Subject: Re: set-file-extended-attributes and backups Date: Fri, 21 Dec 2012 19:31:23 +0100 Organization: orebokech dot com Message-ID: <87zk17i7es.fsf@silenus.orebokech.com> References: <83obhntq1m.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1356114695 30273 80.91.229.3 (21 Dec 2012 18:31:35 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 21 Dec 2012 18:31:35 +0000 (UTC) Cc: Fabrice Popineau , emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Dec 21 19:31:49 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 1Tm7Nr-0005cp-5v for ged-emacs-devel@m.gmane.org; Fri, 21 Dec 2012 19:31:47 +0100 Original-Received: from localhost ([::1]:49448 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tm7Nd-00076T-4m for ged-emacs-devel@m.gmane.org; Fri, 21 Dec 2012 13:31:33 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:59390) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tm7Na-00073R-3Y for emacs-devel@gnu.org; Fri, 21 Dec 2012 13:31:31 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Tm7NW-0006Fq-UV for emacs-devel@gnu.org; Fri, 21 Dec 2012 13:31:30 -0500 Original-Received: from stringer.orebokech.com ([88.190.240.207]:58206) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tm7NU-0006FL-K8; Fri, 21 Dec 2012 13:31:24 -0500 Original-Received: from silenus.orebokech.com (silenus [192.168.1.4]) by stringer.orebokech.com (Postfix) with ESMTP id 5D7C11880147; Fri, 21 Dec 2012 19:31:23 +0100 (CET) Original-Received: by silenus.orebokech.com (Postfix, from userid 1000) id 3562BA0149; Fri, 21 Dec 2012 19:31:23 +0100 (CET) In-Reply-To: <83obhntq1m.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 21 Dec 2012 16:53:25 +0200") X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 88.190.240.207 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:155741 Archived-At: Hi Eli, Eli Zaretskii writes: > I think this problem is not Windows-specific. So I'm asking here: > does it make sense to fail backup-buffer and backup-buffer-copy just > because set-file-extended-attributes fails? Probably not. We should follow coreutils and just issue a warning if we can't copy the acl (which is the default behavior of `mv' and also `cp' if `--preserve=all' is used). > I think we should ignore such errors in these cases, and propose the > changes below. I think that is too radical, it should display a warning so that the user can decide what to do. Since Emacs only makes a backup the first time you save, the warning shouldn't be too annoying.