GNU bug report logs - #37884
27.0.50; Cannot write to a file in VirtualBox shared directory

Previous Next

Package: emacs;

Reported by: Bernardo <bernardo.bacic <at> pobox.com>

Date: Wed, 23 Oct 2019 10:29:01 UTC

Severity: normal

Found in version 27.0.50

Done: Paul Eggert <eggert <at> cs.ucla.edu>

Bug is archived. No further changes may be made.

Full log


Message #55 received at 37884 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Robert Pluim <rpluim <at> gmail.com>
Cc: 37884 <at> debbugs.gnu.org, eggert <at> cs.ucla.edu, bernardo.bacic <at> pobox.com
Subject: Re: bug#37884: 27.0.50;
 Cannot write to a file in VirtualBox shared directory
Date: Thu, 31 Oct 2019 16:37:26 +0200
> From: Robert Pluim <rpluim <at> gmail.com>
> Date: Thu, 31 Oct 2019 08:38:59 +0100
> Cc: eggert <at> cs.ucla.edu, bernardo.bacic <at> pobox.com
> 
>     Paul> In contrast, Bernardo's suggestion is
>     Paul> simpler, involves no extra system calls (or machine instructions, for
>     Paul> that matter), and has been tested. So I installed the attached patch
>     Paul> to implement and document the workaround, and am optimistically
>     Paul> closing the bug report.
> 
> Looks good to me. I was trying to avoid that, since I thought there
> was a strong desire to keep the file read-only, otherwise why bother
> with the fchmod in the first place?

Exactly my line of reasoning.

But if there's no special reason to have that file unwritable, then a
simpler change is of course better.




This bug report was last modified 5 years and 205 days ago.

Previous Next


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