delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2023/04/14/15:11:05

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: <fe9e0325-0703-a91d-7142-a73bfbfcf750@Shaw.ca>
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
To: cygwin AT cygwin DOT com
References: <CH2PR02MB60249D6F85A8F598606DA331E59A9 AT CH2PR02MB6024 DOT namprd02 DOT prod DOT outlook DOT com>
<CAB8Xom9pDVT8d4FKcv3hngpK-N+TLiihk5eQqJ9YURkmo=gdig AT mail DOT gmail DOT com>
<CH2PR02MB602413EF22D7874353F99FF7E59B9 AT CH2PR02MB6024 DOT namprd02 DOT prod DOT outlook DOT com>
<b7726159-db7a-444f-4809-44ce00929f3f AT Shaw DOT ca>
<CH2PR02MB60245B3795A21F201F62C7F6E5999 AT CH2PR02MB6024 DOT namprd02 DOT prod DOT outlook DOT com>
Organization: Inglis
In-Reply-To: <CH2PR02MB60245B3795A21F201F62C7F6E5999@CH2PR02MB6024.namprd02.prod.outlook.com>
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
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
From: Brian Inglis via Cygwin <cygwin AT cygwin DOT com>
Reply-To: cygwin AT cygwin DOT com
Cc: Brian Inglis <Brian DOT Inglis AT Shaw DOT ca>, Derek Pagel <Derek DOT Pagel AT infor DOT com>
Errors-To: cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com>
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

- Raw text -


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