From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: jaalto Newsgroups: gmane.emacs.bugs Subject: bug#10257: 23.3.1 Cygwin: network drives - file is write protected (false positive) Date: Sat, 10 Dec 2011 11:58:58 +0200 Message-ID: <20111210095858.GA19881@cante.cante.net> References: <87aa71mwng.fsf@picasso.cante.net> <4EE270AA.2080702@cornell.edu> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1323511152 11634 80.91.229.12 (10 Dec 2011 09:59:12 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 10 Dec 2011 09:59:12 +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 Sat Dec 10 10:59:08 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 1RZJi0-0005ee-5p for geb-bug-gnu-emacs@m.gmane.org; Sat, 10 Dec 2011 10:59:08 +0100 Original-Received: from localhost ([::1]:57261 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RZJhz-0000Xg-HY for geb-bug-gnu-emacs@m.gmane.org; Sat, 10 Dec 2011 04:59:07 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:35727) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RZJhw-0000XQ-GQ for bug-gnu-emacs@gnu.org; Sat, 10 Dec 2011 04:59:05 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RZJhv-0005Br-3L for bug-gnu-emacs@gnu.org; Sat, 10 Dec 2011 04:59:04 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:60208) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RZJhv-0005Bn-1j for bug-gnu-emacs@gnu.org; Sat, 10 Dec 2011 04:59:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1RZJis-00064C-2q for bug-gnu-emacs@gnu.org; Sat, 10 Dec 2011 05:00:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: jaalto Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 10 Dec 2011 10:00: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.132351120023283 (code B ref 10257); Sat, 10 Dec 2011 10:00:01 +0000 Original-Received: (at 10257) by debbugs.gnu.org; 10 Dec 2011 10:00:00 +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 1RZJip-00063T-TT for submit@debbugs.gnu.org; Sat, 10 Dec 2011 05:00:00 -0500 Original-Received: from emh04.mail.saunalahti.fi ([62.142.5.110]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RZJil-00063A-VC for 10257@debbugs.gnu.org; Sat, 10 Dec 2011 04:59:58 -0500 Original-Received: from saunalahti-vams (vs3-11.mail.saunalahti.fi [62.142.5.95]) by emh04-2.mail.saunalahti.fi (Postfix) with SMTP id B0D9F13BBB1; Sat, 10 Dec 2011 11:58:54 +0200 (EET) Original-Received: from emh07.mail.saunalahti.fi ([62.142.5.117]) by vs3-11.mail.saunalahti.fi ([62.142.5.95]) with SMTP (gateway) id A04B53AA522; Sat, 10 Dec 2011 11:58:54 +0200 Original-Received: from picasso.cante.net (a91-155-176-245.elisa-laajakaista.fi [91.155.176.245]) by emh07.mail.saunalahti.fi (Postfix) with ESMTP id D33401C6382; Sat, 10 Dec 2011 11:58:51 +0200 (EET) Original-Received: from cante.cante.net ([192.168.1.3] ident=Debian-exim) by picasso.cante.net with esmtp (Exim 4.77) (envelope-from ) id 1RZJhj-0004hf-J9; Sat, 10 Dec 2011 11:58:51 +0200 Original-Received: from jaalto by cante.cante.net with local (Exim 4.76) (envelope-from ) id 1RZJhq-0007Dj-Om; Sat, 10 Dec 2011 11:58:58 +0200 Content-Disposition: inline In-Reply-To: <4EE270AA.2080702@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: 192.168.1.3 X-SA-Exim-Mail-From: jaalto@cante.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: Sat, 10 Dec 2011 05:00:02 -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:54854 Archived-At: On 2011-12-09 15:33, Ken Brown wrote: | | >Here is an example under Cygwin Emacs: | > | > (file-attributes "/cygdrive/z/tmp/test-epackage.el") | > => (nil 1 4294967295.0 4294967295.0 (20194 11100) (20194 19792) (20194 | > 19792) 437 "-rwxr--r--" t (-1735557 1952988 . 8890) (30147 . 13405)) | > | >Under Cygwin Bash shell it looks like this: | > | > $ ls -la /cygdrive/z/tmp/test-epackage.el | > -rwxr--r-- 1 ???????? ???????? 437 Dec 9 20:02 /cygdrive/z/tmp/test-epackage.el | > | | Is there really a problem on *any* network drive, or is the issue | that you have some particular file system on that drive for which | Cygwin can't get reliable permission information? See above. The permissions from Cygwin shell look correct. It's the UID, GID that don't translate back to windows, because this not a domain. | I would think that you should try to get help on the Cygwin list | before talking about making emacs bypass permission checks on | Cygwin. I don't use network drives myself, but I know that plenty | of people do, and the Cygwin maintainers are very accommodating in | trying to teach Cygwin to recognize problematic file systems. | | And if that fails, can't you solve the problem by mounting your | drive with the noacl option? There are no problems under Cygwin. On Bash shell, all cp(1), mv(1) and editors (nanoe, joe) write operations continue to work as usual. For some reason Emacs thinks that all files are write protected. The Disk drive has been mapped with Standard Windows "Map network drive" feature. Jari