From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: set-file-extended-attributes and backups Date: Mon, 24 Dec 2012 18:24:19 +0200 Message-ID: <83wqw7o1u4.fsf@gnu.org> References: <83obhntq1m.fsf@gnu.org> <50D48781.1050303@cs.ucla.edu> <83a9t7qrrw.fsf@gnu.org> <87a9t4snzr.fsf@silenus.orebokech.com> <83bodkpt7z.fsf@gnu.org> <8338ywp107.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1356366297 10521 80.91.229.3 (24 Dec 2012 16:24:57 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 24 Dec 2012 16:24:57 +0000 (UTC) Cc: romain@orebokech.com, emacs-devel@gnu.org, eggert@cs.ucla.edu To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Dec 24 17:25:12 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 1TnApz-0000aS-Ab for ged-emacs-devel@m.gmane.org; Mon, 24 Dec 2012 17:25:11 +0100 Original-Received: from localhost ([::1]:47154 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TnApl-0006fm-3e for ged-emacs-devel@m.gmane.org; Mon, 24 Dec 2012 11:24:57 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:47659) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TnApi-0006fd-LM for emacs-devel@gnu.org; Mon, 24 Dec 2012 11:24:55 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TnAph-000885-EK for emacs-devel@gnu.org; Mon, 24 Dec 2012 11:24:54 -0500 Original-Received: from mtaout22.012.net.il ([80.179.55.172]:42742) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TnAph-00087x-6D for emacs-devel@gnu.org; Mon, 24 Dec 2012 11:24:53 -0500 Original-Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0MFJ00F00MU16G00@a-mtaout22.012.net.il> for emacs-devel@gnu.org; Mon, 24 Dec 2012 18:24:24 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MFJ00FJ3MWN0PN0@a-mtaout22.012.net.il>; Mon, 24 Dec 2012 18:24:24 +0200 (IST) In-reply-to: X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 X-Received-From: 80.179.55.172 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:155858 Archived-At: > From: Stefan Monnier > Cc: romain@orebokech.com, eggert@cs.ucla.edu, emacs-devel@gnu.org > Date: Mon, 24 Dec 2012 00:18:59 -0500 > > > ENOTSUP usually means the filesystem doesn't support ACLs. Having an > > error that every single use of it will want to ignore doesn't seem to > > be useful. > > But if the FS doesn't support ACL, then file-acl should have returned > nil, so we don't need to call set-file-acl at all. What about copying files from one FS to another? Like from the DoK to your local disk or vice versa? > IOW, those errors should not be frequent. Frequency is immaterial here, IMO. If, when the error happens, we will always want to ignore it, then raising it is not useful. Especially that we would need to invent yet another kind of error to distinguish a not-supported error from something-else-wrong error.