GNU bug report logs -
#10257
23.3.1 Cygwin: network drives - file is write protected (false positive)
Previous Next
Reported by: Jari Aalto <jari.aalto <at> cante.net>
Date: Fri, 9 Dec 2011 18:25:02 UTC
Severity: normal
Found in version 23.3+1-4
Fixed in version 24.0.93
Done: Ken Brown <kbrown <at> cornell.edu>
Bug is archived. No further changes may be made.
Full log
Message #62 received at 10257 <at> debbugs.gnu.org (full text, mbox):
On 12/14/2011 3:35 AM, Eli Zaretskii wrote:
>> From: Jari Aalto<jari.aalto <at> cante.net>
>> Cc: Stefan Monnier<monnier <at> iro.umontreal.ca>, Eli Zaretskii<eliz <at> gnu.org>, 10257 <at> debbugs.gnu.org, jari<jari.aalto <at> cante.net>
>> Date: Wed, 14 Dec 2011 10:01:47 +0200
>>
>> I'm proposing following,
>> Jari
>>
>> 2011-12-14 Jari Aalto<jari.aalto <at> cante.net>
>>
>> * files.el (basic-save-buffer-2): Add
>> `save-buffer-read-only-confirm-flag' to control asking to a
>> write-protected file.
>> (save-buffer-read-only-confirm-flag): New user variable
>> (bug#10257).
>
> Yuck! Are we going to add a knob for every possible misconfiguration
> of network filesystems and/or for every incompatibility in Posix
> emulation layers on Windows?
>
> Up till now, the way to deal with this was either to change the
> generic code (where it was deemed to be deficient in the first place),
> or ask the maintainers of the platform to fix that either in the
> platform libraries or in platform-specific code in Emacs. I think
> that is the right way; adding a user option every time is not, IMNSHO.
>
> If native Windows and even MS-DOS ports can DTRT with this, then how
> come Cygwin cannot?
The MS-DOS port uses system-specific code in `check_writable' (see
fileio.c). I don't know whether the native Windows port DTRT for Jari's
network filesystem. Jari, can you test this?
Ken
This bug report was last modified 13 years and 222 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.