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

From: Eli Zaretskii <[email-masked]>
Date: Wed, 14 Dec 2011 08:10:06 -0500

> Date: Wed, 14 Dec 2011 07:55:07 -0500
> From: Ken Brown <[email-masked]>
> CC: [email-masked], Jari Aalto <[email-masked]>
> 
> As I understand it, this is a filesystem problem: Samba returns a
> fake SID to Windows, so Cygwin can't determine the correct uid/gid.
> Jari, you were already told on the Cygwin list how to work around
> this problem.  Why not just do it?

Either that, or make euidaccess/check_writable return success in such
cases.  After all, it is well known that on Windows the equivalent of
euidaccess (AccessCheck and its ilk) is even more of an approximation
than on Posix, due to implicit access rights granted through
membership in multiple user groups.