This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[ot] Permissions issue


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]