Hello,

I hit a strange emacs issue, which appeared after upgrading to bullseye (I 
think):

I have a virtualbox filesystem mounted using the standard virtualbox 
mechanisms:

rd@Testing:~$ mount |grep dor1rt
dor1rt on /mnt/dor1rt type vboxsf (rw,nodev,relatime)
rd@Testing:~$

rd@Testing:~$ ls -l /mnt/dor1rt/Local/Managed/sb.blog
-rwxrwxrwx 1 root root 47086 Apr 19 13:40 /mnt/dor1rt/Local/Managed/sb.blog
rd@Testing:~$

While e.g. the standard KDE editor has no problems opening, editing, and 
saving the file, emacs opens the file in read-only mode. I can disable 
read-only 
mode, but emacs refuses to write, I get "Unlocking file: Operation not 
permitted." Even worse, even if I try to save to ~/ I get the same unlocking 
error. 

Here is what I get in the *Messages* buffer:

Loading /etc/emacs/site-start.d/00debian.el (source)...done
Loading /etc/emacs/site-start.d/50asymptote.el (source)...done
Loading /etc/emacs/site-start.d/50autoconf.el (source)...done
Loading /etc/emacs/site-start.d/50cmake-data.el (source)...done
Loading /etc/emacs/site-start.d/50dictionaries-common.el (source)...
Loading debian-ispell...
Loading /var/cache/dictionaries-common/emacsen-ispell-default.el 
(source)...done
Loading debian-ispell...done
Loading /var/cache/dictionaries-common/emacsen-ispell-dicts.el (source)...done
Loading /etc/emacs/site-start.d/50dictionaries-common.el (source)...done
Loading /etc/emacs/site-start.d/50festival.el (source)...done
Loading /etc/emacs/site-start.d/50latex-cjk-common.el (source)...
Loading /usr/share/emacs/site-lisp/latex-cjk-common/cjk-enc.el (source)...done
Loading /etc/emacs/site-start.d/50latex-cjk-common.el (source)...done
Loading /etc/emacs/site-start.d/50latex-cjk-thai.el (source)...done
Loading /etc/emacs/site-start.d/50latexmk.el (source)...done
Loading /etc/emacs/site-start.d/50texlive-lang-english.el (source)...done
Loading /home/rd/.emacs.d/lisp/plantuml-helpers.el (source)...done
Loading /home/rd/.emacs.d/lisp/melpa.el (source)...done
For information about GNU Emacs and the GNU system, type C-h C-a.
File exists, but cannot be read
funcall-interactively: Buffer is read-only: #<buffer sb.blog>
C-M-g is undefined
completing-read-default: Command attempted to use minibuffer while in minibuffer
Quit
Read-Only mode disabled in current buffer
You can run the command ‘read-only-mode’ with C-x C-q
Read-Only mode disabled in current buffer
Saving file /home/rd/local/Managed/sb.blog...
basic-save-buffer-2: Unlocking file: Operation not permitted, /mnt/dor1rt/Local/
Managed/sb.blog
set-visited-file-name: Unlocking file: Operation not permitted, /mnt/dor1rt/
Local/Managed/sb.blog
Mark set

Any idea or hint how to fix or work around this issue is welcome.

Thanks
Rainer


-- 
Rainer Dorsch
http://bokomoko.de/


Reply via email to