From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Fabrice Popineau Newsgroups: gmane.emacs.devel Subject: Re: set-file-extended-attributes and backups Date: Sun, 23 Dec 2012 00:03:54 +0100 Message-ID: References: <83obhntq1m.fsf@gnu.org> <87zk17i7es.fsf@silenus.orebokech.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=f46d0442859c97b7ac04d178fb49 X-Trace: ger.gmane.org 1356217481 25675 80.91.229.3 (22 Dec 2012 23:04:41 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 22 Dec 2012 23:04:41 +0000 (UTC) Cc: Eli Zaretskii , emacs-devel@gnu.org To: Romain Francoise Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Dec 23 00:04:57 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 1TmY7j-00045r-UI for ged-emacs-devel@m.gmane.org; Sun, 23 Dec 2012 00:04:56 +0100 Original-Received: from localhost ([::1]:59986 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TmY7V-0001CS-TT for ged-emacs-devel@m.gmane.org; Sat, 22 Dec 2012 18:04:41 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:44366) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TmY7M-0001Bz-At for emacs-devel@gnu.org; Sat, 22 Dec 2012 18:04:39 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TmY7E-0004Y4-DQ for emacs-devel@gnu.org; Sat, 22 Dec 2012 18:04:32 -0500 Original-Received: from mail-wg0-x22a.google.com ([2a00:1450:400c:c00::22a]:44962) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TmY76-0004Wl-5T; Sat, 22 Dec 2012 18:04:16 -0500 Original-Received: by mail-wg0-f42.google.com with SMTP id dr1so2106854wgb.3 for ; Sat, 22 Dec 2012 15:04:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:cc:content-type; bh=G9BDVjkA8n5QCXP96oVTEjfH6uIW22vCKTgHcAsZpDI=; b=A3pWzh1hTyMowDQWIJX/yKrXmLm1Usz4eWxw/p70y8q71QjN2AzJCT7EU3omeoUvVw PGPOecAag98a1wRaNd5nmyS59kwcK6BmIV6HIAMiyd0vPoxqb5ySnhLxd8uOL7adnaZX vzMM02HBOBE1lBmGGI5TtXEbGkfIXLweZ1jVy04n3Uj8c7k/de9tanrbUoAjasD/8fdn SLE/DRoTKVtKwbtglARa6gBxGWRyM4MQY6baE721XLAEbJYCRCayThU0Fh/+vbE+DjWA hvJNE9JSXyO0P0JRgJ0BLiG7lLzaCJDivlIaOL8+eEJKKeoj6niIPGn8JtAVMqZM32i0 2kdw== Original-Received: by 10.180.86.36 with SMTP id m4mr29364431wiz.5.1356217454147; Sat, 22 Dec 2012 15:04:14 -0800 (PST) Original-Received: by 10.194.27.131 with HTTP; Sat, 22 Dec 2012 15:03:54 -0800 (PST) In-Reply-To: <87zk17i7es.fsf@silenus.orebokech.com> X-Google-Sender-Auth: TZMM6wjWYAphlbDId95-FPIRHSE X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:400c:c00::22a 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:155789 Archived-At: --f46d0442859c97b7ac04d178fb49 Content-Type: text/plain; charset=ISO-8859-1 > > 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. > The warning would happen to every single file you edit with emacs. And I'm running Windows with an account with elevated privileges (so-called admin account) with default settings. I guess lots of people are in this situation. If I run emacs "as administrator", then there is no problem. But this is far too dangerous in my opinion. Eli as offered an interesting option : to avoidt trying to set the acl if it hasn't changed. Which should be the case all the time (or most of the time). Combining the warning and this other fix could be the best solution. -- Fabrice --f46d0442859c97b7ac04d178fb49 Content-Type: text/html; charset=ISO-8859-1

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.

The warning would happen to every single file you edit with emacs.
And I'm running Windows with an account with elevated privileges (so-called
admin account) with default settings. I guess lots of people are in this situation.
If I run emacs "as administrator", then there is no problem. But this is far too
dangerous in my opinion.

Eli as offered an interesting option : to avoidt trying to set the acl if it hasn't changed.
Which should be the case all the time (or most of the time). Combining the warning
and this other fix could be the best solution.

--
Fabrice
--f46d0442859c97b7ac04d178fb49--