GNU bug report logs - #10257
23.3.1 Cygwin: network drives - file is write protected (false positive)

Previous Next

Package: emacs;

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 #86 received at 10257 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Ken Brown <kbrown <at> cornell.edu>
Cc: 10257 <at> debbugs.gnu.org, jari.aalto <at> cante.net
Subject: Re: bug#10257: 23.3.1 Cygwin: network drives - file is write
	protected (false positive)
Date: Wed, 14 Dec 2011 19:21:47 +0200
> Date: Wed, 14 Dec 2011 09:29:47 -0500
> From: Ken Brown <kbrown <at> cornell.edu>
> CC: Eli Zaretskii <eliz <at> gnu.org>, 10257 <at> debbugs.gnu.org
> 
> So can you look into how the native Windows port implements 
> check_writable?

It calls `access', whose implementation is in w32.c:sys_access.  It
mostly calls GetFileAttributes and that's it.  If you want to check NT
security ACLs on Cygwin, then what the native build does will not be
good enough for you.  But you can perhaps fall back on that if the UID
and GID are bogus (see my other mail).





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.