|
From: | Ken Brown |
Subject: | bug#10257: 23.3.1 Cygwin: network drives - file is write protected (false positive) |
Date: | Tue, 13 Dec 2011 10:12:46 -0500 |
User-agent: | Mozilla/5.0 (Windows NT 6.1; WOW64; rv:8.0) Gecko/20111105 Thunderbird/8.0 |
It might be reasonable to just assume that the user really wants to save the file; the worst thing that can happen is that the write fails. Am I missing something?
Ken (*) According to the documentation at http://www.kernel.org/doc/man-pages/online/pages/man3/euidaccess.3.htmleuidaccess() and access () are not reliable for checking permissions. The advice there is to simply try the desired operation and check for errors.
[Prev in Thread] | Current Thread | [Next in Thread] |