delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/06/29/22:42:02

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-0.4 required=5.0 tests=AWL,BAYES_50,J_CHICKENPOX_81
X-Spam-Check-By: sourceware.org
From: "Jason Pyeron" <jpyeron AT pdinc DOT us>
To: <cygwin AT cygwin DOT com>
Subject: [ot] Permissions issue
Date: Mon, 29 Jun 2009 22:43:55 -0400
Message-ID: <2AA6F1EC75BE4E22B5BB950B3B6F0EEF@phoenix>
MIME-Version: 1.0
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

On the local disk, C:\Documents and Settings\All Users\workspace\nitams\x.txt

In wordpad I choose save and I get access denied.

In nano I choose save and it saves.

In explorer I can rename it
In bash I can rename it

/cygdrive/c/Documents and Settings/All Users/workspace/nitams
$ cacls x.txt
C:\Documents and Settings\All Users\workspace\nitams\x.txt Everyone:F

From filemon.exe

22:29:45	wordpad.exe:2664	QUERY INFORMATION	C:\Documents and
Settings\All Users\workspace\nitams\x.txt	SUCCESS	Attributes: HA	
22:29:45	wordpad.exe:2664	OPEN	C:\	SUCCESS	Options: Open
Directory  Access: 00100001	
22:29:45	wordpad.exe:2664	QUERY INFORMATION	C:\	SUCCESS
FileNameInformation	
22:29:45	wordpad.exe:2664	QUERY INFORMATION	C:\	SUCCESS
FileFsAttributeInformation	
22:29:45	wordpad.exe:2664	CLOSE	C:\	SUCCESS		
22:29:45	wordpad.exe:2664	CREATE	C:\Documents and Settings\All
Users\workspace\nitams\x.txt	ACCESS DENIED	PDINC\jpyeron	
22:29:45	wordpad.exe:2664	OPEN	C:\Documents and Settings\All
Users\workspace\nitams\	SUCCESS	Options: Open Directory  Access: 00100000	

Querying it with unlocker reports no lock handles.

This happened recently after a reboot and ms updates...

This file was created by subversion under Cygwin 1.7

/cygdrive/c/Documents and Settings/All Users/workspace/nitams
$ cp x.txt y.txt

y.txt saves fine with wordpad

22:38:03	wordpad.exe:7068	QUERY INFORMATION	C:\Documents and
Settings\All Users\workspace\nitams\y.txt	SUCCESS	Attributes: A	
22:38:03	wordpad.exe:7068	OPEN	C:\	SUCCESS	Options: Open
Directory  Access: 00100001	
22:38:03	wordpad.exe:7068	QUERY INFORMATION	C:\	SUCCESS
FileNameInformation	
22:38:03	wordpad.exe:7068	QUERY INFORMATION	C:\	SUCCESS
FileFsAttributeInformation	
22:38:03	wordpad.exe:7068	CLOSE	C:\	SUCCESS		
22:38:03	wordpad.exe:7068	CREATE	C:\Documents and Settings\All
Users\workspace\nitams\y.txt	SUCCESS	Options: OverwriteIf  Access: 0012019F	
22:38:03	wordpad.exe:7068	OPEN	C:\Documents and Settings\All
Users\workspace\nitams\	SUCCESS	Options: Open Directory  Access: 00100000	
22:38:03	wordpad.exe:7068	QUERY INFORMATION	C:\Documents and
Settings\All Users\workspace\nitams\y.txt	SUCCESS	Attributes: A	
22:38:03	wordpad.exe:7068	QUERY INFORMATION	C:\Documents and
Settings\All Users\workspace\nitams\y.txt	SUCCESS	Length: 0	
22:38:03	wordpad.exe:7068	QUERY INFORMATION	C:\Documents and
Settings\All Users\workspace\nitams\y.txt	SUCCESS	Attributes: A	
22:38:03	wordpad.exe:7068	WRITE 	C:\Documents and Settings\All
Users\workspace\nitams\y.txt	SUCCESS	Offset: 0 Length: 530	
22:38:03	wordpad.exe:7068	CLOSE	C:\Documents and Settings\All
Users\workspace\nitams\y.txt	SUCCESS		
22:38:03	wordpad.exe:7068	OPEN	C:\Documents and Settings\All
Users\workspace\nitams\y.txt	SUCCESS	Options: Open  Access: 00120189	

Cygwin behaves normally. Cygchek upon request.

Any ideas where to start on this?

--
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
-                                                               -
- Jason Pyeron                      PD Inc. http://www.pdinc.us -
- Principal Consultant              10 West 24th Street #100    -
- +1 (443) 269-1555 x333            Baltimore, Maryland 21218   -
-                                                               -
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
This message is copyright PD Inc, subject to license 20080407P00.



--
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019