From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#10257: 23.3.1 Cygwin: network drives - file is write protected (false positive) Date: Tue, 13 Dec 2011 19:48:47 +0200 Message-ID: <83d3bs8irk.fsf@gnu.org> References: <87aa71mwng.fsf@picasso.cante.net> <4EE270AA.2080702@cornell.edu> <20111210095858.GA19881@cante.cante.net> <4EE742B0.1080703@cornell.edu> <20111213140042.GA22678@picasso.cante.net> <20111213162628.GB22678@picasso.cante.net> Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org X-Trace: dough.gmane.org 1323798653 2037 80.91.229.12 (13 Dec 2011 17:50:53 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 13 Dec 2011 17:50:53 +0000 (UTC) Cc: 10257@debbugs.gnu.org To: jari Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Dec 13 18:50:49 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RaWV6-0005uK-Du for geb-bug-gnu-emacs@m.gmane.org; Tue, 13 Dec 2011 18:50:48 +0100 Original-Received: from localhost ([::1]:51796 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RaWV5-0007Z0-Tb for geb-bug-gnu-emacs@m.gmane.org; Tue, 13 Dec 2011 12:50:47 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:39611) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RaWV2-0007YO-JM for bug-gnu-emacs@gnu.org; Tue, 13 Dec 2011 12:50:45 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RaWV1-0004B8-Br for bug-gnu-emacs@gnu.org; Tue, 13 Dec 2011 12:50:44 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:35938) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RaWV1-0004B2-AA for bug-gnu-emacs@gnu.org; Tue, 13 Dec 2011 12:50:43 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1RaWWH-00016W-Ql for bug-gnu-emacs@gnu.org; Tue, 13 Dec 2011 12:52:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 13 Dec 2011 17:52:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 10257 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 10257-submit@debbugs.gnu.org id=B10257.13237986624174 (code B ref 10257); Tue, 13 Dec 2011 17:52:01 +0000 Original-Received: (at 10257) by debbugs.gnu.org; 13 Dec 2011 17:51:02 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RaWVK-00015H-I2 for submit@debbugs.gnu.org; Tue, 13 Dec 2011 12:51:02 -0500 Original-Received: from mtaout22.012.net.il ([80.179.55.172]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RaWVI-00014s-TL for 10257@debbugs.gnu.org; Tue, 13 Dec 2011 12:51:02 -0500 Original-Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0LW500000LFLI900@a-mtaout22.012.net.il> for 10257@debbugs.gnu.org; Tue, 13 Dec 2011 19:48:51 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([84.229.18.12]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0LW500CQNLHDWLH2@a-mtaout22.012.net.il>; Tue, 13 Dec 2011 19:48:51 +0200 (IST) In-reply-to: <20111213162628.GB22678@picasso.cante.net> X-012-Sender: halo1@inter.net.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Tue, 13 Dec 2011 12:52:01 -0500 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:54925 Archived-At: > Date: Tue, 13 Dec 2011 18:26:28 +0200 > From: jari > Cc: kbrown@cornell.edu, 10257@debbugs.gnu.org > > - The mapped drive can be written to without any extra 1:1 GUID,UID > configuration. > - Under Cygwin, should Emacs rely on unreliable[*] UID, GID? > - Is there need for this extra prompt? The protective > nature turned into nightmare. > > Much better would be to give control back to the user: > > (setq write-file-interactive-confirmation-flag nil) > > This doesn't affect Emacs's ability to signal an error on write > failure. Emacs assumes Posix-compliant APIs wrt UID/GID/EUID. Platforms that don't comply with the Posix semantics of these APIs should either (a) become more compliant, or (b) modify the Emacs sources with platform-specific code or #ifdef's to work around the lack of compliance. (Emacs maintainers generally prefer the former possibility, for obvious reasons.) All the other platforms do one or the other; why should Cygwin be different? why should we change long-standing Emacs code because one platform turns out to be non- compliant, and the user refuses to work around the problem by configuring his system in a slightly different way?