unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* unknown file I/O primitive: file-acl
@ 2014-05-26  1:12 Harry Putnam
  2014-05-26  7:51 ` Michael Albinus
  0 siblings, 1 reply; 3+ messages in thread
From: Harry Putnam @ 2014-05-26  1:12 UTC (permalink / raw)
  To: emacs-devel

M-x version
GNU Emacs 24.4.50.1 (i686-pc-linux-gnu, GTK+ Version 3.10.7)
of 2014-04-13 on reader

I get this problem when using a user emacs to open files as root.

That is, logged in as user but opening files as root thru tramp.

C-x c-f /root@localhost:/etc/exim4/exim4.conf.template

(PS -  seems to default to su - to get root)

Ok, make my edit and attempt to save with C-x C-s, but get this
warning /error or whatever it is:

tramp-file-name-for-operation: \
       unknown file I/O primitive: file-acl

And am unable to save the file.

Has this already been fixed? ... I haven't `pulled' for a couple of
weeks.

I got reams of bunkem googling on this, but not an easy job to tell
what has happened, if anything on this problem.

-------       -------       ---=---       -------       -------

Backtrace:
Debugger entered--Lisp error: (error "unknown file I/O primitive: file-acl")
  signal(error ("unknown file I/O primitive: file-acl"))
  error("unknown file I/O primitive: %s" file-acl)
  tramp-file-name-for-operation(file-acl "/su:root@localhost:/etc/exim4/exim4.conf.template")
  apply(tramp-file-name-for-operation file-acl "/su:root@localhost:/etc/exim4/exim4.conf.template")
  tramp-file-name-handler(file-acl "/su:root@localhost:/etc/exim4/exim4.conf.template")
  file-acl("/su:root@localhost:/etc/exim4/exim4.conf.template")
  file-extended-attributes("/su:root@localhost:/etc/exim4/exim4.conf.template")

[...] snipped byte code

  backup-buffer()
  basic-save-buffer-2()
  basic-save-buffer-1()
  basic-save-buffer()
  save-buffer(1)
  call-interactively(save-buffer nil nil)
  command-execute(save-buffer)




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

* Re: unknown file I/O primitive: file-acl
  2014-05-26  1:12 unknown file I/O primitive: file-acl Harry Putnam
@ 2014-05-26  7:51 ` Michael Albinus
  2014-05-26  9:33   ` Harry Putnam
  0 siblings, 1 reply; 3+ messages in thread
From: Michael Albinus @ 2014-05-26  7:51 UTC (permalink / raw)
  To: Harry Putnam; +Cc: emacs-devel

Harry Putnam <reader@newsguy.com> writes:

Hi Harry,

> M-x version
> GNU Emacs 24.4.50.1 (i686-pc-linux-gnu, GTK+ Version 3.10.7)
> of 2014-04-13 on reader
>
> tramp-file-name-for-operation: \
>        unknown file I/O primitive: file-acl

Tramp supports `file-acl' since version 2.2.7. Emacs trunk includes
Tramp 2.2.10-pre.

I suspect there is an older Tramp version in your way. Check `load-path'.

Best regards, Michael.



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

* Re: unknown file I/O primitive: file-acl
  2014-05-26  7:51 ` Michael Albinus
@ 2014-05-26  9:33   ` Harry Putnam
  0 siblings, 0 replies; 3+ messages in thread
From: Harry Putnam @ 2014-05-26  9:33 UTC (permalink / raw)
  To: emacs-devel

Michael Albinus <michael.albinus@gmx.de> writes:

> Harry Putnam <reader@newsguy.com> writes:
>
> Hi Harry,
>
>> M-x version
>> GNU Emacs 24.4.50.1 (i686-pc-linux-gnu, GTK+ Version 3.10.7)
>> of 2014-04-13 on reader
>>
>> tramp-file-name-for-operation: \
>>        unknown file I/O primitive: file-acl
>
> Tramp supports `file-acl' since version 2.2.7. Emacs trunk includes
> Tramp 2.2.10-pre.
>
> I suspect there is an older Tramp version in your way. Check `load-path'.
>
> Best regards, Michael.

Bingo... yes there was... thanks




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

end of thread, other threads:[~2014-05-26  9:33 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-05-26  1:12 unknown file I/O primitive: file-acl Harry Putnam
2014-05-26  7:51 ` Michael Albinus
2014-05-26  9:33   ` Harry Putnam

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).