bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#10257: 23.3.1 Cygwin: network drives - file is write protected (fals


From: Ken Brown
Subject: bug#10257: 23.3.1 Cygwin: network drives - file is write protected (false positive)
Date: Wed, 14 Dec 2011 09:19:16 -0500
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:8.0) Gecko/20111105 Thunderbird/8.0



On 12/14/2011 8:10 AM, Eli Zaretskii wrote:
Date: Wed, 14 Dec 2011 07:55:07 -0500
From: Ken Brown<kbrown@cornell.edu>
CC: 10257@debbugs.gnu.org, Jari Aalto<jari.aalto@cante.net>

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.

I don't know how to determine what "such cases" are. In the case at hand, Jari has a network filesystem that is configured in such a way that the uid/gid of a file can't be determined by standard system calls. As explained on the Cygwin list, he can set up his /etc/passwd and /etc/group to work around this. [He has to map the fake SID returned by Samba to a real one.] If he doesn't want to do that, I think it would clearly be wrong for euidaccess to return success.

Maybe check_writable could be a little more lenient, but I'm not sure what the implications of that would be.

Ken





reply via email to

[Prev in Thread] Current Thread [Next in Thread]