unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#29225: Tramp backup-by-copying in a Converting ACL Invalid argument error on Windows 7
@ 2017-11-09  8:24 Shuguang Sun
  2017-11-09 17:18 ` Eli Zaretskii
  0 siblings, 1 reply; 8+ messages in thread
From: Shuguang Sun @ 2017-11-09  8:24 UTC (permalink / raw)
  To: 29225

[-- 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 --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2018-01-17 10:05 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-11-09  8:24 bug#29225: Tramp backup-by-copying in a Converting ACL Invalid argument error on Windows 7 Shuguang Sun
2017-11-09 17:18 ` 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

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).