Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Message-Id: <200302031914.h13JE6g22439@work.bitmover.com>
Content-Type: text/plain;
  charset="iso-8859-15"
From: Andrew Chang <awc@bitmover.com>
To: cygwin@cygwin.com
Subject: cygwin 1.3.19-1 file permission out of sync with NTFS on XP?
Date: Mon, 3 Feb 2003 11:14:03 -0800
Cc: develop@jarava.com
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
X-MailScanner: Found to be clean


I have a situation in which a cygwin app created a file, chmod it to readonly.
then we have a win32 app chomd the same file to writable (0644).
In cygiwn 1.3.12, the new write permission would show up in the 
cygwin "ls -l" command. In cygwin 1.3.19-1, the write permission is not visible in cygwin "ls -l",
but if I go to the Explorer, it would show the file as writable.
Originally I thought is was a cache delay problem, but it never caught up.
Rebooting XP does not help either.


Did the permission code changed somewhere between cygwin 1.3.12 and 1.3.19-1 ?
It there something I can do to make them sync up again ?
(Note: I also tried "CYGWIN=ntsec", it does not help).

Thanks
Andrew

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

