From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#21699: 24.5; Bug in backup-buffer-copy and/or set-file-extended-attributes etc Date: Mon, 19 Oct 2015 12:09:39 +0300 Message-ID: <83mvvfgr70.fsf@gnu.org> References: <22051.8546.40000.221633@gargle.gargle.HOWL> <83wpuki2sf.fsf@gnu.org> <838u6zigtr.fsf@gnu.org> <83r3krgtbr.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1445245826 19182 80.91.229.3 (19 Oct 2015 09:10:26 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 19 Oct 2015 09:10:26 +0000 (UTC) Cc: 21699@debbugs.gnu.org To: Eli Barzilay Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Oct 19 11:10:13 2015 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1Zo6SK-0005RT-1P for geb-bug-gnu-emacs@m.gmane.org; Mon, 19 Oct 2015 11:10:12 +0200 Original-Received: from localhost ([::1]:37663 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zo6SJ-0004Mj-8N for geb-bug-gnu-emacs@m.gmane.org; Mon, 19 Oct 2015 05:10:11 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:33023) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zo6SF-0004Ld-7A for bug-gnu-emacs@gnu.org; Mon, 19 Oct 2015 05:10:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zo6SC-0006DB-1s for bug-gnu-emacs@gnu.org; Mon, 19 Oct 2015 05:10:07 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:36782) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zo6SB-0006D1-Ua for bug-gnu-emacs@gnu.org; Mon, 19 Oct 2015 05:10:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1Zo6SB-0008DG-4V for bug-gnu-emacs@gnu.org; Mon, 19 Oct 2015 05:10:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 19 Oct 2015 09:10:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 21699 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 21699-submit@debbugs.gnu.org id=B21699.144524578231539 (code B ref 21699); Mon, 19 Oct 2015 09:10:03 +0000 Original-Received: (at 21699) by debbugs.gnu.org; 19 Oct 2015 09:09:42 +0000 Original-Received: from localhost ([127.0.0.1]:55723 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Zo6Rq-0008Cd-6D for submit@debbugs.gnu.org; Mon, 19 Oct 2015 05:09:42 -0400 Original-Received: from mtaout29.012.net.il ([80.179.55.185]:54288) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Zo6Rn-0008CT-6x for 21699@debbugs.gnu.org; Mon, 19 Oct 2015 05:09:40 -0400 Original-Received: from conversion-daemon.mtaout29.012.net.il by mtaout29.012.net.il (HyperSendmail v2007.08) id <0NWG00E00MPIXV00@mtaout29.012.net.il> for 21699@debbugs.gnu.org; Mon, 19 Oct 2015 12:09:00 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([84.94.185.246]) by mtaout29.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NWG009WEMQZ8D50@mtaout29.012.net.il>; Mon, 19 Oct 2015 12:09:00 +0300 (IDT) In-reply-to: X-012-Sender: halo1@inter.net.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:107745 Archived-At: > Date: Mon, 19 Oct 2015 05:03:19 -0400 > From: Eli Barzilay > Cc: 21699@debbugs.gnu.org > > On Mon, Oct 19, 2015 at 4:23 AM, Eli Zaretskii wrote: > > > > AFAIU, this means you don't have full access ("FA") to the file you > > are editing, and I guess that's why chmod fails. If so, there's not > > much we can do about that. > > > > However, with set-file-extended-attributes fixed, backing up works > > again for you, is that right? > > Yes. (On both.) OK, thanks. Can we close this bug? > >> I suspect that some of those ACL entries mean that my user is not > >> allowed to change the file. In any case, the error that I got when I > >> played with it is: > >> > >> Debugger entered--Lisp error: (file-error "Doing chmod" "permission > >> denied" "c:/eli/.backups/!drive_l!lambda!tmp!x~") > >> set-file-modes("c:/eli/.backups/!drive_l!lambda!tmp!x~" 438) > >> eval((set-file-modes "c:/eli/.backups/!drive_l!lambda!tmp!x~" 438) nil) > > > > Yes, I think your suspicion is correct. (In general, I'd suggest to > > take ownership, from the Windows side, on all of the files on that > > Linux volume you are using from Windows. IME, this avoids many > > problems with access denial from the Windows side.) > > Yeah, I didn't get to deal with that yet, and maybe will never since > this is a Win7 machine, and I think that on 10 these things changed. I don't have a Windows 10 system nearby to see if anything's changed in that regard. Any pointers? Thanks.