X-Recipient: archive-cygwin AT delorie DOT com DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org BC2193858413 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; s=default; t=1681499415; bh=efTU50mc10sh8sz6e/6k+2jYolzGwO8FfPqpknu/N2M=; h=Date:Subject:To:References:In-Reply-To:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc: From; b=cMZM5cRpCeaRutAFVAZFL6tcypfMNVP3RBfkm6KoNfqCkK7dIujxSi7RvloHpsfGe 1kdCNJigQEr30ylW3FShKnrNHWnhfHOgPsD2SLNtN9PP4xOan89Z8YjOlmBRQR62/x XfWVOBID0+qMvAMOB9aMtIfrQXe1/ueGjcvuHq8c= X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 02AA03858C1F 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 Subject: Re: Cygwin 'cp' command is still slow after Cygserver is installed Content-Language: en-CA To: cygwin AT cygwin DOT com References: Organization: Inglis In-Reply-To: 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 X-BeenThere: cygwin AT cygwin DOT com X-Mailman-Version: 2.1.29 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Brian Inglis via Cygwin Reply-To: cygwin AT cygwin DOT com Cc: Brian Inglis , Derek Pagel Content-Type: text/plain; charset="utf-8"; Format="flowed" Errors-To: cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com Sender: "Cygwin" Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 33EJAfxA018738 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 -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation: https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple