X-Recipient: archive-cygwin@delorie.com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:date:from:to:subject:message-id:references
	:mime-version:content-type:in-reply-to; q=dns; s=default; b=gjx0
	m2wxlq/sd1dDFH7OHpcuadNYU4iMDkaQJ9vGqfPjxwZzdWBumRhKQ6p7KoZfC76m
	6BENWRq3BGM9oTRr3yuX3lE4PowODcGviMa1/lf4c0feKz/Lae3PwxMmMfKLYx7A
	A2SkJoMqRIEUkPOqR8OrClxu8WuVw0IuD2EDnxg=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:date:from:to:subject:message-id:references
	:mime-version:content-type:in-reply-to; s=default; bh=a2kGE3odYp
	NxTPfXgwWWK1YdavI=; b=ojS3lCkkC3bQ10+6c3YyiVfsS03YP/52TjMWIajqBa
	3KGNWgt0yXS+6cvU6IerGAaRZ2YTX6ZXL2xMmpd6+MXTsfOu8J3W99QlhFzM9AYx
	/y8zzAHOddmcLj0HKjHhnVMhXAFh9iq3vFypBL2atFMd4ASM4CJdOUnH8tiH3nuH
	k=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-2.2 required=5.0 tests=BAYES_05,RCVD_IN_DNSWL_LOW,RP_MATCHES_RCVD,SPF_PASS autolearn=ham version=3.3.2 spammy=H*f:sk:CACmJb3, cygwin64, H*i:sk:CACmJb3, H*f:sk:7R_rq8B
X-HELO: earth.ccil.org
Date: Wed, 13 Apr 2016 09:11:28 -0400
From: John Cowan <cowan@mercury.ccil.org>
To: cygwin@cygwin.com
Subject: Re: Conflict between Cygwin 1.7 and Ubuntu for Windows 14316
Message-ID: <20160413131128.GA3162@mercury.ccil.org>
References: <20160413052257.GB28803@mercury.ccil.org> <CA+Fg1xY46ANusM1MeZozkQ1u0+AHwd=vJDoWo7867az3wxPNBQ@mail.gmail.com> <CACmJb3yHO_VhiDoyn33d+7R_rq8Bqco6VMuTdG622Bu2u52fHA@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <CACmJb3yHO_VhiDoyn33d+7R_rq8Bqco6VMuTdG622Bu2u52fHA@mail.gmail.com>
User-Agent: Mutt/1.5.20 (2009-06-14)
X-IsSubscribed: yes

LLoyd scripsit:

> John, if you can confirm?

Exactly right.

> Please also provide the "cat /mnt/c/file1" and "cat /mnt/c/file2" from UoW.

From the Cygwin shell (note that my Cygwin and Windows home directories
are the same: /home/cowan is a Cygwin symlink to /cygdrive/c/Users/cowan):

cowan@large-skunk ~
$ echo stuff >file1

cowan@large-skunk ~
$ cat file1
stuff

cowan@large-skunk ~
$ ls -l file1
-rw-r--r--+ 1 cowan cowan 6 Apr 13 08:57 file1

From cmd.exe:

c:\Users\cowan>echo stuff >file2

c:\Users\cowan>type file2
stuff

From UoW bash prompt:

root@localhost:~# cd /mnt/c/Users/cowan
root@localhost:/mnt/c/Users/cowan# cat file1
cat: file1: Permission denied
root@localhost:/mnt/c/Users/cowan# cat file2
stuff
root@localhost:/mnt/c/Users/cowan# ls -l file1 file2
-rwxrwxrwx 1 root root 6 Apr 13 12:57 file1
-rwxrwxrwx 1 root root 8 Apr 13 12:57 file2

As you can see, they look exactly the same but are different somehow.
What is more, if I use cmd.exe echo to append to file1 and Cygwin echo
to append to file2, it changes nothing.  Likewise, if I overwrite them
completely, it changes nothing.  Only if I remove them and re-create
them from the "wrong" side does file1 become readable and file2 become
unreadable.

This is 64-bit Windows on an NTFS file system, but 32-bit Cygwin.  I'll
try installing Cygwin64 tonight and seeing if that makes any difference.

-- 
John Cowan          http://www.ccil.org/~cowan        cowan@ccil.org
A: "Spiro conjectures Ex-Lax."
Q: "What does Pat Nixon frost her cakes with?"
  --"Jeopardy" for generative semanticists

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

