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 #110 received at 10257 <at> debbugs.gnu.org (full text, mbox):
On 12/14/2011 11:04 PM, Eli Zaretskii wrote:
>> How does the following patch look?
>
> Looks fine to me, if it does the job.
Thanks.
It works for me, but I'd like Jari to confirm. I was able to test it
because there are some files on my system that are owned by the
TrustedInstaller virtual user. Cygwin currently doesn't create
/etc/passwd and /etc/group entries for TrustedInstaller, so its files
show up with UID and GID equal to -1.
By the way, the check_executable function calls euidaccess in the same
way as check_writable, but I don't think I want to change that one to be
more permissive unless there's a good reason to do so. It seems to be
used mainly to check for standard programs, which I hope aren't going to
be found on a network share configured in such a way that the UID/GID
can't be determined.
Thanks, as always, for being so helpful.
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.