From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Barzilay 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 05:14:06 -0400 Message-ID: References: <22051.8546.40000.221633@gargle.gargle.HOWL> <83wpuki2sf.fsf@gnu.org> <838u6zigtr.fsf@gnu.org> <83r3krgtbr.fsf@gnu.org> <83mvvfgr70.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: ger.gmane.org 1445246123 24648 80.91.229.3 (19 Oct 2015 09:15:23 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 19 Oct 2015 09:15:23 +0000 (UTC) Cc: 21699@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Oct 19 11:15:15 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 1Zo6XA-0000G9-I4 for geb-bug-gnu-emacs@m.gmane.org; Mon, 19 Oct 2015 11:15:12 +0200 Original-Received: from localhost ([::1]:37775 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zo6XA-0006ej-4t for geb-bug-gnu-emacs@m.gmane.org; Mon, 19 Oct 2015 05:15:12 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:35869) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zo6X4-0006cy-RI for bug-gnu-emacs@gnu.org; Mon, 19 Oct 2015 05:15:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zo6X0-0008FO-9q for bug-gnu-emacs@gnu.org; Mon, 19 Oct 2015 05:15:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:36792) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zo6X0-0008FJ-6C for bug-gnu-emacs@gnu.org; Mon, 19 Oct 2015 05:15:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1Zo6Wz-0008Kj-OS for bug-gnu-emacs@gnu.org; Mon, 19 Oct 2015 05:15:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Barzilay Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 19 Oct 2015 09:15:01 +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.144524605031963 (code B ref 21699); Mon, 19 Oct 2015 09:15:01 +0000 Original-Received: (at 21699) by debbugs.gnu.org; 19 Oct 2015 09:14:10 +0000 Original-Received: from localhost ([127.0.0.1]:55733 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Zo6W9-0008JT-D6 for submit@debbugs.gnu.org; Mon, 19 Oct 2015 05:14:09 -0400 Original-Received: from mail-ig0-f182.google.com ([209.85.213.182]:34455) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Zo6W7-0008JK-7e for 21699@debbugs.gnu.org; Mon, 19 Oct 2015 05:14:07 -0400 Original-Received: by igbni9 with SMTP id ni9so50182753igb.1 for <21699@debbugs.gnu.org>; Mon, 19 Oct 2015 02:14:06 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=r7+q7xz34F4mphShVwymS/RTbEYHlUmgQheA1FhhRks=; b=RsKzUA1vdCOT6qU5Gnj344Fz3OK4yz816178kXXlCecJSBMEmGieMy4svRh1fn/moB Ys85CWzQbr7167cqNKDI7PKLsbe5gDz6VbGis2RaAgSJEXlZQ0a6FdqOMhbbFDFRbCOY IkCjDIqHbawHZ9UdTxhKCaUX909s4AlFnuCdh3laf87xSe0AFAKakLAbd/JokY7cZ4Ou UAe5hO+SCCR0S8ebc2gIlj5GpSQmct2W5bQ6mdeA3XWSJ+nXObqyN6PHVUA+3heUPTAR xdgNo7Wxx+KR9vxZ9NGZxPyXO1t3tUUrTU8I8CgbfMM2HBLj1yMM6UNMfVZmWIbK7raD vkjg== X-Gm-Message-State: ALoCoQkU930pvLBBkTB9oF16rwzhB9uiZzKDsLxhKTBOtuw1o/zO9HfkBfvvwLA0TGi5ZQbbqYTl X-Received: by 10.50.137.97 with SMTP id qh1mr18395197igb.60.1445246046841; Mon, 19 Oct 2015 02:14:06 -0700 (PDT) Original-Received: by 10.79.28.211 with HTTP; Mon, 19 Oct 2015 02:14:06 -0700 (PDT) In-Reply-To: <83mvvfgr70.fsf@gnu.org> 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:107747 Archived-At: On Mon, Oct 19, 2015 at 5:09 AM, Eli Zaretskii wrote: >> 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? There's the issue of the `file-extended-attributes' fix (in the other thread), and I think a possible leftover bad case. >> >> 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? I didn't try to verify it yet, but I vaguely remember somewhere that talked about making things less restricted by default, resolving the problem of putting files on an external HD and changing the owner when you want to use the drive in a different machine. (Which is what I do now, with a drive that gets populated on the win7 machine.) -- ((x=>x(x))(x=>x(x))) Eli Barzilay: http://barzilay.org/ Maze is Life!