From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: jari 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:17 +0200 Message-ID: <20111213174817.GC22678@picasso.cante.net> 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> <4EE782DB.3030600@cornell.edu> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1323798535 1109 80.91.229.12 (13 Dec 2011 17:48:55 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 13 Dec 2011 17:48:55 +0000 (UTC) Cc: 10257@debbugs.gnu.org To: Ken Brown Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Dec 13 18:48:51 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 1RaWTA-0004v2-7n for geb-bug-gnu-emacs@m.gmane.org; Tue, 13 Dec 2011 18:48:48 +0100 Original-Received: from localhost ([::1]:48565 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RaWT9-0006Qk-CG for geb-bug-gnu-emacs@m.gmane.org; Tue, 13 Dec 2011 12:48:47 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:43982) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RaWT6-0006L8-EW for bug-gnu-emacs@gnu.org; Tue, 13 Dec 2011 12:48:45 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RaWT5-0003LM-C7 for bug-gnu-emacs@gnu.org; Tue, 13 Dec 2011 12:48:44 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:35934) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RaWT5-0003LI-AV for bug-gnu-emacs@gnu.org; Tue, 13 Dec 2011 12:48:43 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1RaWUL-00013K-KM for bug-gnu-emacs@gnu.org; Tue, 13 Dec 2011 12:50:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: jari Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 13 Dec 2011 17:50: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.13237985874019 (code B ref 10257); Tue, 13 Dec 2011 17:50:01 +0000 Original-Received: (at 10257) by debbugs.gnu.org; 13 Dec 2011 17:49:47 +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 1RaWU6-00012m-NF for submit@debbugs.gnu.org; Tue, 13 Dec 2011 12:49:47 -0500 Original-Received: from emh01.mail.saunalahti.fi ([62.142.5.107]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RaWU2-00012c-Kn for 10257@debbugs.gnu.org; Tue, 13 Dec 2011 12:49:44 -0500 Original-Received: from saunalahti-vams (vs3-10.mail.saunalahti.fi [62.142.5.94]) by emh01-2.mail.saunalahti.fi (Postfix) with SMTP id E18848C603; Tue, 13 Dec 2011 19:48:21 +0200 (EET) Original-Received: from emh04.mail.saunalahti.fi ([62.142.5.110]) by vs3-10.mail.saunalahti.fi ([62.142.5.94]) with SMTP (gateway) id A076F7DE2BC; Tue, 13 Dec 2011 19:48:21 +0200 Original-Received: from picasso.cante.net (a91-155-176-245.elisa-laajakaista.fi [91.155.176.245]) by emh04.mail.saunalahti.fi (Postfix) with ESMTP id 0F4E141BE2; Tue, 13 Dec 2011 19:48:17 +0200 (EET) Original-Received: from jaalto by picasso.cante.net with local (Exim 4.77) (envelope-from ) id 1RaWSf-0007CS-JE; Tue, 13 Dec 2011 19:48:17 +0200 Content-Disposition: inline In-Reply-To: <4EE782DB.3030600@cornell.edu> X-Gpg-Key-Id: 0xD189E680 X-Gpg-Key-Info: http://key-server.de:11371/pks/lookup?search=0xD189E680&op=vindex X-Gpg-Key-Get: ttp://key-server.de:11371/pks/lookup?search=0xD189E680&op=get User-Agent: Mutt/1.5.21 (2010-09-15) X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: jaalto@picasso.cante.net X-SA-Exim-Scanned: No (on picasso.cante.net); SAEximRunCond expanded to false X-Antivirus: VAMS X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Tue, 13 Dec 2011 12:50: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:54924 Archived-At: On 2011-12-13 11:52, Ken Brown wrote: | On 12/13/2011 11:26 AM, jari wrote: | >Response from Cygwin list: | > | > > $ ls -la /cygdrive/z/tmp/test-epackage.el | > > -rwxr--r-- 1 ???????? ???????? 437 Dec 9 20:02 /cygdrive/z/tmp/test-epackage.el | > | > It's not a bug. | > | > If you use winbind and the user accounts are correctly mapped to | > Windows accounts, then you would see the Cygwin UIDs/GIDs | > correspoding to the SID of the AD user account. | > | > If you don't do that, there's only an invisible mapping from the | > Windows SID to the Unix uid/gid. The actual UNIX account has not | > the same mapping back to the Windows SID. Instead, the SID | > returned from Samba to Windows is a fake SID S-1-22-1-UnixUID or | > S-1-22-2-UnixGID. (..) | > | >The rest goes into details for setting 1:1 UID, GID mapping. | | You omitted the part of the response that says, "The easiest way to | workaround this issue is to mount the share with the noacl mount | option". | Does this fail to work for some reason? That would create a new "Cygwin mount". Different path altogether than what is already in use; mapped by the Windows. In Windows: Z:\ In Cygwin : /cygdrive/z All paths would change if I would Cygwin mount(1) "//server/login /mnt/login ..." /mnt/login /cygdrive/z That would create problems all over the place that now assume certain locations. Not to mention losing ability to copy/paste paths from Windows File Exporer to Cygwin[*] Jari [*] Cygwin accepts drive letter syntax in single quotes: 'z:\' See also cygoath(1).