GNU bug report logs - #29225
Tramp backup-by-copying in a Converting ACL Invalid argument error on Windows 7

Previous Next

Package: emacs;

Reported by: Shuguang Sun <shuguang <at> gmail.com>

Date: Thu, 9 Nov 2017 08:25:01 UTC

Severity: normal

Fixed in version 26.1

Done: Michael Albinus <michael.albinus <at> gmx.de>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: Shuguang Sun <shuguang <at> gmail.com>, Michael Albinus <michael.albinus <at> gmx.de>
Cc: 29225 <at> debbugs.gnu.org
Subject: bug#29225: Tramp backup-by-copying in a Converting ACL Invalid argument error on Windows 7
Date: Thu, 09 Nov 2017 19:18:46 +0200
> From: Shuguang Sun <shuguang <at> gmail.com>
> Date: Thu, 9 Nov 2017 16:24:39 +0800
> 
> Could we allow the user to set whether to copy ACl for certain type of files?

That should work automatically.

> Debugger entered--Lisp error: (file-error "Converting ACL" "Invalid argument"
> "c:/Users/user/HOME/.emacs.d/autosave/Rfiles/!drive_c!plink!!user <at> host!!!path!user!Ava!_mortality.R.~1~")
> 
>   set-file-acl
> ("c:/Users/user/HOME/.emacs.d/autosave/Rfiles/!drive_c!plink!!user <at> 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 <at> 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 <at> host:/path/user/Ava/_mortality.R"
> "c:/Users/user/HOME/.emacs.d/autosave/Rfiles/!drive_c!plink!!user <at> host!!!path!user!Ava!_mortality.R.~1~"
> 436 ((acl . "user::rw-\ngroup::rw-\nother::r--\n") (selinux-context nil nil nil nil)))

This seems to indicate that Unix-style ACLs are passed to native
Windows ACL functions, which won't work.  Michael, could you please
look into this?  I'd expect ACLs derived from remote files never to be
used on local files.

Thanks.




This bug report was last modified 7 years and 127 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.