Cygwin 'cp' command is still slow after Cygserver is installed
Derek Pagel
Derek.Pagel@infor.com
Wed Apr 26 14:37:54 GMT 2023
Stop using ` already. Or at the very least use it properly.
Either
icacls `cygpath -m interchange.20230418091901`
or
icacls "$(cygpath -m interchange.20230418091901)"
Not to mention, you don't need to cygpath the file in current directory.
Just
icacls "interchange.20230418091901.tmp"
should suffice.
----------------------------------------------------------------------------------------------------------------
I've re-ran the commands and was able to get output for all of them:
The command that hung:
D:\cygwin64\bin\mv.exe D:/lsenv/law/lsapps/edi/work/valid_ediout.20230425113255.tmp D:/lsenv/law/lsapps/edi/work/valid_ediout.20230425113255
Note: The 'valid_ediout.20230425113255.tmp' file did not exist when running the commands:
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
More information about the Cygwin
mailing list