From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from omta001.cacentral1.a.cloudfilter.net (omta001.cacentral1.a.cloudfilter.net [3.97.99.32]) by sourceware.org (Postfix) with ESMTPS id 02AA03858C1F for ; Fri, 14 Apr 2023 19:09:56 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 02AA03858C1F Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=Shaw.ca Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=shaw.ca Received: from shw-obgw-4001a.ext.cloudfilter.net ([10.228.9.142]) by cmsmtp with ESMTP id nGwMp5ur2uZMSnOnzpUXlp; Fri, 14 Apr 2023 19:09:55 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=shaw.ca; s=s20180605; t=1681499395; bh=otpy7Wxl0SB3rqgM9pp76hnPiaG7gg5sPMACiOWAJGs=; h=Date:Reply-To:Subject:To:References:Cc:From:In-Reply-To; b=crnhS1aUAsR6amlXXyN2qe55gKXRo/WsbEDlYzXObTk1yY0b44u9UolXNBp2/KMvH f4M7AId1C68XrP7qK++X64VVTn3fVeiMofj+bL9m0GotUYzNe+OR8WbP6ATHO+G2Es 01rW4op2sergL7D5X024RnvncFa903rJcpJMG6uoCJUtmpPGROVFd3hJ5QswBP7kCz QcygANqYnDNzmn9iaACfKFICDX7XFWmf+CTF6bMbt4Yu+1mA3Y/xdY/idBNb7/d2db 975OfnPdIvkawzj8K5SSNf/1bDxPpBt/m+TYGrYD2Ct2GLvcC/1v2sTyMAASqVVRk8 ItrGhAcnzrcWg== Received: from [10.0.0.5] ([184.64.102.149]) by cmsmtp with ESMTP id nOnzpTIXEHFsOnOnzpXeB4; Fri, 14 Apr 2023 19:09:55 +0000 X-Authority-Analysis: v=2.4 cv=XZqaca15 c=1 sm=1 tr=0 ts=6439a503 a=DxHlV3/gbUaP7LOF0QAmaA==:117 a=DxHlV3/gbUaP7LOF0QAmaA==:17 a=IkcTkHD0fZMA:10 a=y-k_rEgPqbTSsb7UKzAA:9 a=QEXdDO2ut3YA:10 Message-ID: Date: Fri, 14 Apr 2023 13:09:54 -0600 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.10.0 Reply-To: cygwin@cygwin.com Subject: Re: Cygwin 'cp' command is still slow after Cygserver is installed Content-Language: en-CA To: cygwin@cygwin.com References: Cc: Derek Pagel From: Brian Inglis Organization: Inglis In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-CMAE-Envelope: MS4xfGyvbIalS+jogJbwkQm1DTcJk/TU3Hn4Zx3azbzDL5IGFWZKeFnhc9abOYkwnkgjHaPvDDNYepMg1itpfH0ypNTGMXuEaFzdtYCz2+wrwosK/A5uNZrQ IQX9hcdEd+Q1eqsZJGApK+IrkJZxKKQiXnGCzwCQdnGIf/dTTATVuD5c2Aj34NAhGd0LYc2/uuC6cdrgOjjA2wuXNgRbEgB9Pgm+YpcjDbe2uelRJgLJ4dtd X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_LOW,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS,TXREP,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: On 2023-04-14 08:10, Derek Pagel via Cygwin wrote: > Could be long ACL lists with many unique ACEs that need looked up on AD, > and/or slow ADCs, and/or slow AV, and/or slow net: > for each file show the outputs of > $ ls -dl $f > $ getfacl $f > $ icacls "`cygpath -m $f`" > and also attach as text, the output from strace on the cp command, as it will > show the timing and delays e.g. > $ strace -o cp-strace.log cp ... > I couldn't run strace on the Cygwin command because the issue is really > intermittent. I did have another Cygwin cmd, 'mv', that was hung so I ran the > commands below on the file it was trying to move: > D:\lsenv\law\lsapps\edi\work>ls -dl valid_ediout.20230413113258.tmp > -rwxrwxrwa 1 Administrators INFORBC\Domain Users 749 Apr 13 valid_ediout.20230413113258.tmp > D:\lsenv\law\lsapps\edi\work>getfacl valid_ediout.20230413113258.tmp > getfacl: valid_ediout.20230413113258.tmp: No such file or directory > D:\lsenv\law\lsapps\edi\work>icacls "`cygpath -m valid_ediout.20230413113258.tmp" > 'cygpath -m valid_ediout.20230413113258.tmp; The system cannot find the file specified. > Successfully processed 0 files; Failed processing 1 files Looks like the ACL has not been written, so the incoming ACEs are still being looked up (and/or maybe inherited)? Where was that file moved from and what were the files' permissions and ACLs before and after? Anyone know what execute permission *a* means? -rwxrwxrwa [above] -- Take care. Thanks, Brian Inglis Calgary, Alberta, Canada La perfection est atteinte Perfection is achieved non pas lorsqu'il n'y a plus rien à ajouter not when there is no more to add mais lorsqu'il n'y a plus rien à retirer but when there is no more to cut -- Antoine de Saint-Exupéry