delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-SWARE-Spam-Status: | No, hits=1.2 required=5.0 tests=AWL,BAYES_20,SPF_HELO_PASS,T_RP_MATCHES_RCVD |
X-Spam-Check-By: | sourceware.org |
To: | cygwin AT cygwin DOT com |
From: | Heinz Werner Kramski <Heinz DOT Werner DOT Kramski AT dla-marbach DOT de> |
Subject: | Re: 1.7: Basic file operations fail on network shares provided by Tru64 Advanced Server |
Date: | Fri, 28 Jan 2011 12:45:03 +0100 |
Lines: | 61 |
Message-ID: | <ihua7v$l94$1@dough.gmane.org> |
References: | <4C73712F DOT 7000801 AT dla-marbach DOT de> <20100824083631 DOT GN6726 AT calimero DOT vinschen DOT de> <i5042b$fln$1 AT dough DOT gmane DOT org> <20100824122144 DOT GS6726 AT calimero DOT vinschen DOT de> <i50qpr$k60$1 AT dough DOT gmane DOT org> <20100824162810 DOT GU6726 AT calimero DOT vinschen DOT de> <i52ep5$7f4$1 AT dough DOT gmane DOT org> <20100825091521 DOT GW6726 AT calimero DOT vinschen DOT de> |
Mime-Version: | 1.0 |
User-Agent: | Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.9.2.8) Gecko/20100802 Lightning/1.0b2 Thunderbird/3.1.2 |
In-Reply-To: | <20100825091521.GW6726@calimero.vinschen.de> |
X-IsSubscribed: | yes |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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 |
Just for the records today's answer from HP support: --- 8< --- 8< --- Hi xxxx, I have a final respons from engineering for case xxxx. It appears that ASU is not doing anything wrong however NT4 is having a bug here, please read below for the explanation. But as we are claiming to be NT4 compatible this will be changed in the next major release. But as you allready have your solution via Cygwin we will work this out internally. Therefor I am informing you that this request will be closed. Kind regards, xxxx. Problem statement: ------------------ mv command from Cygwin client executed on a file on an ASU share returns Access Denied error Analysis: --------- 1) In the 'NT Create AndX Request' the Cygwin client is sending an Access Request of 0x00010000 Thereby requesting only for the "DELETE" access corresponding to 0x00010000 Hence, this is the Access that gets granted to the Cygwin client from the ASU server side. 2) The next request, 'Query File Basic Info' is sent with a Granted Access of 0x00010000 that was obtained in the previous 'NT Create AndX Request' This request fails with the error, 'STATUS_ACCESS_DENIED' as the client does not have the "Desired Access" to Query for the File Basic Info. For this request to have completed successfully, the Granted Access should have been 0x00000080 which corresponds to Read Attributes Access Thus, the Cygwin client should have requested for a minimum Access of 0x00010080 in the first 'NT Create AndX Request' which is required for copying/moving/renaming files. Solution: --------- The code will need to be modified to grant the Cygwin client with the access 0x00010180 although the Access Requested for in the 'NT Create AndX Request' by the Cygwin client is 0x00010000 As this includes 0x00000080 which is the access required to Read Attributes the next request, 'Query File Basic Info' would complete successfully and hence the mv command from the Cygwin client would execute successfully. -- 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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |