Greetings, Derek Pagel!

> I've been having intermittent slowness with Cygwin commands even after
> installing Cygserver. It has helped reduce the frequency of occurrences of
> slowness, but it hasn't gotten rid of them completely. I recently had a
> 'mv.exe' that was slow, so I ran a few commands to get some details on the
> files it was working with to see if that could provide anything.

> The 'mv.exe' command that was slow:
> D:\cygwin64\bin\mv.exe
> D:/lsenv/law/lsapps/edi/work/valid_ediout.20230425113255.tmp
> D:/lsenv/law/lsapps/edi/work/valid_ediout.20230425113255

> It's interesting to note that the source and destination are both in the same 
> directory.

> D:\lsenv\law\lsapps\edi\work>ls -l valid_ediout.20230425113255.tmp
> ls: File or directory is not found

> D:\lsenv\law\lsapps\edi\work>ls -l valid_ediout.20230425113255
> -rwxrwxrwa   1 Administrators   INFORBC\Domain Users        574 Apr 25 
> valid_ediout.20230425113255

> D:\lsenv\law\lsapps\edi\work>getfacl valid_ediout.20230425113255
> # file: valid_ediout.20230425113255
> # owner: Administrators
> # group: Domain Users
> user::rwx
> user:lawson:rwx
> group::---
> group:Authenticated Users:rwx
> group:SYSTEM:rwx
> group:Users:r-x
> group:AD_LAWUSERS:rwx
> mask::rwx
> other::---

> D:\lsenv\law\lsapps\edi\work>icacls valid_ediout.20230425113255
> valid_ediout.20230425113255 INFORBC\lawson:(I)(F)
>                             INFORBC\AD_LAWUSERS:(I)(F)
>                             BUILTIN\Administrators:(I)(F)
>                             NT AUTHORITY\SYSTEM:(I)(F)
>                             NT AUTHORITY\Authenticated Users:(I)(M)
>                             BUILTIN\Users:(I)(RX)

> Successfully processed 1 files; Failed processing 0 files

This clearly indicates that there's a domain group ACE on the file. Domain
access to resolve account names could cause slow file I/O.
Though, it should have been cached if the same ACL is set on entire directory.


-- 
With best regards,
Andrey Repin
Tuesday, May 9, 2023 20:10:34

Sorry for my terrible english...


-- 
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

Reply via email to