help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Emacs cannot write file in a Virtual Box shared folder


From: Eli Zaretskii
Subject: Re: Emacs cannot write file in a Virtual Box shared folder
Date: Tue, 22 Oct 2019 17:43:32 +0300

> From: Bernardo <bernardo.bacic@pobox.com>
> Date: Mon, 21 Oct 2019 20:22:04 +1100
> 
> The version of Emacs that's built from Git repos cannot write
> file. Also by default it opens the file in read-only mode.
>   GNU Emacs 27.0.50 (build 2, x86_64-pc-linux-gnu, GTK+ Version 3.22.11) of 
> 2019-10-21
> 
> Debugger entered--Lisp error: (file-error "Unlocking file" "Operation not 
> permitted" "/media/sf_Home/zz_stuff")
>   write-region(nil nil "/media/sf_Home/zz_stuff" nil t 
> "/media/sf_Home/zz_stuff")
>   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)
> 
> Other editors (GNU nano) within the VM read/write the same files correctly.
> Sounds like a bug?

Could be, it's hard to say.

Suggest to report this using report-emacs-bug, and if you can, include
strace information that shows which file operation involved in this
fails.  My guess is that Virtual Box has problems supporting symlinks
or something, but that's just a guess.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]