From: Shuguang Sun <shuguang@gmail.com>
To: 29225@debbugs.gnu.org
Subject: bug#29225: Tramp backup-by-copying in a Converting ACL Invalid argument error on Windows 7
Date: Thu, 9 Nov 2017 16:24:39 +0800 [thread overview]
Message-ID: <CACspjXe-pV15Ug16uYXynRnjKSLNU46fd6L_e=xxcSmEKF0a2A@mail.gmail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 1479 bytes --]
Hi,
Windows 7
GNU Emacs 26.0.50 (build 1, x86_64-w64-mingw32) of 2017-08-27
(backup-by-copying t)
When I tramp to a host (linux) and edit a file, and save it, I get an error
about the backup as below. The ACL is in different format on Linus and on
Windows. It is "user::..." on linux, however, it looks like "O:S-1-5-21-"
on windows.
Could we allow the user to set whether to copy ACl for certain type of
files?
Debugger entered--Lisp error: (file-error "Converting ACL" "Invalid
argument"
"c:/Users/user/HOME/.emacs.d/autosave/Rfiles/!drive_c!plink!!user@host
!!!path!user!Ava!_mortality.R.~1~")
set-file-acl("c:/Users/user/HOME/.emacs.d/autosave/Rfiles/!drive_c!plink!!user@host!!!path!user!Ava!_mortality.R.~1~"
"user::rw-\ngroup::rw-\nother::r--\n")
set-file-extended-attributes("c:/Users/user/HOME/.emacs.d/autosave/Rfiles/!drive_c!plink!!user@host!!!path!user!Ava!_mortality.R.~1~"
((acl . "user::rw-\ngroup::rw-\nother::r--\n") (selinux-context nil nil nil
nil)))
backup-buffer-copy("/plink:user@host:/path/user/Ava/_mortality.R"
"c:/Users/user/HOME/.emacs.d/autosave/Rfiles/!drive_c!plink!!user@host!!!path!user!Ava!_mortality.R.~1~"
436 ((acl . "user::rw-\ngroup::rw-\nother::r--\n") (selinux-context nil nil
nil nil)))
backup-buffer()
basic-save-buffer-2()
basic-save-buffer-1()
basic-save-buffer(t)
save-buffer(1)
funcall-interactively(save-buffer 1)
call-interactively(save-buffer nil nil)
command-execute(save-buffer)
Best Regards,
Shuguang
[-- Attachment #2: Type: text/html, Size: 1852 bytes --]
next reply other threads:[~2017-11-09 8:24 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-11-09 8:24 Shuguang Sun [this message]
2017-11-09 17:18 ` bug#29225: Tramp backup-by-copying in a Converting ACL Invalid argument error on Windows 7 Eli Zaretskii
2017-11-10 12:41 ` Michael Albinus
2017-11-10 13:06 ` Eli Zaretskii
2017-11-10 14:39 ` Michael Albinus
2017-11-10 15:13 ` Eli Zaretskii
2017-11-12 13:21 ` Michael Albinus
2018-01-17 10:05 ` Michael Albinus
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CACspjXe-pV15Ug16uYXynRnjKSLNU46fd6L_e=xxcSmEKF0a2A@mail.gmail.com' \
--to=shuguang@gmail.com \
--cc=29225@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.