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: Sun, 23 Dec 2012 19:35:12 +0200 Message-ID: <83bodkpt7z.fsf@gnu.org> References: <83obhntq1m.fsf@gnu.org> <50D48781.1050303@cs.ucla.edu> <83a9t7qrrw.fsf@gnu.org> <87a9t4snzr.fsf@silenus.orebokech.com> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1356284136 4815 80.91.229.3 (23 Dec 2012 17:35:36 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 23 Dec 2012 17:35:36 +0000 (UTC) Cc: eggert@cs.ucla.edu, emacs-devel@gnu.org To: Romain Francoise Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Dec 23 18:35:51 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 1TmpSm-0005rC-5c for ged-emacs-devel@m.gmane.org; Sun, 23 Dec 2012 18:35:48 +0100 Original-Received: from localhost ([::1]:50521 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TmpSY-0006rj-7L for ged-emacs-devel@m.gmane.org; Sun, 23 Dec 2012 12:35:34 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:48488) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TmpSP-0006rK-Vh for emacs-devel@gnu.org; Sun, 23 Dec 2012 12:35:32 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TmpSM-0002fk-El for emacs-devel@gnu.org; Sun, 23 Dec 2012 12:35:25 -0500 Original-Received: from mtaout22.012.net.il ([80.179.55.172]:43124) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TmpSM-0002fV-5T for emacs-devel@gnu.org; Sun, 23 Dec 2012 12:35:22 -0500 Original-Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0MFH00000VH41H00@a-mtaout22.012.net.il> for emacs-devel@gnu.org; Sun, 23 Dec 2012 19:35:19 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MFH00M7BVIVYB40@a-mtaout22.012.net.il>; Sun, 23 Dec 2012 19:35:19 +0200 (IST) In-reply-to: <87a9t4snzr.fsf@silenus.orebokech.com> 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:155821 Archived-At: > From: Romain Francoise > Cc: Paul Eggert , emacs-devel@gnu.org > Date: Sun, 23 Dec 2012 17:59:52 +0100 > > Eli Zaretskii writes: > > > How about if it tried to copy ACLs, and if that failed, attempted to > > copy the file modes? That would DTRT if possible, and fall back on > > the pre-ACL method if not. > > If we do that we need to change `set-file-acl' to treat ENOTSUP as an > error otherwise modes won't be copied on filesystems without ACL support. How about changing its return value instead? Say, return t if ACLs set, nil otherwise. It always bothers me to have an API that silently fails without any tangible indication.