public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* chmod g+s ineffective
@ 2022-06-29 12:12 Norton Allen
  2022-06-29 12:39 ` Andrey Repin
  0 siblings, 1 reply; 8+ messages in thread
From: Norton Allen @ 2022-06-29 12:12 UTC (permalink / raw)
  To: cygwin

[-- Attachment #1: Type: text/plain, Size: 783 bytes --]

On one machine I have, chmod g+s fails to set the sticky bit. The 
command does not return any error, but ls -l continues to show the bit 
not set.

    $ mkdir foo
    $ chgrp flight foo
    $ chmod g+ws foo
    $ ls -ld foo
    drwxrwxr-x+ 1 nort flight 0 Jun 29 06:50 foo

I ran strace, and it looks like the correct system call parameter is 
getting passed.

I am curious as to how the sticky bit is implemented. It isn't obvious 
what underlying Windows functionality (if any) is applied. Ah, just 
checked on a system where this works, and creating a file in the 
directory from the command shell does not set the group, so presumably 
this functionality is all within cygwin. That works for my application, 
except when it doesn't.

Any suggestions on what I should look for?

[-- Attachment #2: cygcheck.out --]
[-- Type: text/plain, Size: 51331 bytes --]


Cygwin Configuration Diagnostics
Current System Time: Wed Jun 29 13:04:51 2022

Windows 10 Enterprise Ver 10.0 Build 19044 

Path:	C:\cygwin64\usr\local\bin
	C:\cygwin64\bin
	C:\Program Files (x86)\Intel\iCLS Client
	C:\Program Files\Intel\iCLS Client
	C:\WINDOWS\system32
	C:\WINDOWS
	C:\WINDOWS\System32\Wbem
	C:\WINDOWS\System32\WindowsPowerShell\v1.0
	C:\WINDOWS\System32\OpenSSH
	C:\Program Files\MATLAB\R2021a\bin
	C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL
	C:\Program Files\Intel\Intel(R) Management Engine Components\DAL
	C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\IPT
	C:\Program Files\Intel\Intel(R) Management Engine Components\IPT
	C:\Users\nort\AppData\Local\Microsoft\WindowsApps

Output from C:\cygwin64\bin\id.exe
UID: 197613(nort)              GID: 197121(None)
197121(None)                   197614(flight)
545(Users)                     4(INTERACTIVE)
66049(CONSOLE LOGON)           11(Authenticated Users)
15(This Organization)          113(Local account)
4095(CurrentSession)           66048(LOCAL)
262154(NTLM Authentication)    401408(Medium Mandatory Level)

SysDir: C:\WINDOWS\system32
WinDir: C:\WINDOWS

USER = 'nort'
PWD = '/home/nort'
HOME = '/home/nort'

USERDOMAIN = 'EAS-SOFTWAREE1B'
OS = 'Windows_NT'
COMMONPROGRAMFILES = 'C:\Program Files\Common Files'
PROCESSOR_LEVEL = '6'
PSModulePath = 'C:\Program Files\WindowsPowerShell\Modules;C:\WINDOWS\system32\WindowsPowerShell\v1.0\Modules'
CommonProgramW6432 = 'C:\Program Files\Common Files'
CommonProgramFiles(x86) = 'C:\Program Files (x86)\Common Files'
TZ = 'America/New_York'
HOSTNAME = 'EAS-SOFTWAREE1B'
PUBLIC = 'C:\Users\Public'
OLDPWD = '/home/nort'
UATDATA = 'C:\Windows\CCM\UATData\D9F8C395-CAB8-491d-B8AC-179A1FE1BE77'
USERNAME = 'nort'
LOGONSERVER = '\\EAS-SOFTWAREE1B'
PROCESSOR_ARCHITECTURE = 'AMD64'
LOCALAPPDATA = 'C:\Users\nort\AppData\Local'
COMPUTERNAME = 'EAS-SOFTWAREE1B'
FPS_BROWSER_APP_PROFILE_STRING = 'Internet Explorer'
!:: = '::\'
SYSTEMDRIVE = 'C:'
USERPROFILE = 'C:\Users\nort'
PATHEXT = '.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC'
SYSTEMROOT = 'C:\WINDOWS'
USERDOMAIN_ROAMINGPROFILE = 'EAS-SOFTWAREE1B'
PROCESSOR_IDENTIFIER = 'Intel64 Family 6 Model 61 Stepping 4, GenuineIntel'
TMP = '/tmp'
LC_CTYPE = 'en_US.UTF-8'
TERM_PROGRAM = 'mintty'
TERM_PROGRAM_VERSION = '3.6.1'
OneDrive = 'C:\Users\nort\OneDrive'
PROCESSOR_REVISION = '3d04'
FPS_BROWSER_USER_PROFILE_STRING = 'Default'
PROFILEREAD = 'true'
NUMBER_OF_PROCESSORS = '4'
ProgramW6432 = 'C:\Program Files'
COMSPEC = 'C:\WINDOWS\system32\cmd.exe'
APPDATA = 'C:\Users\nort\AppData\Roaming'
SHELL = '/bin/bash'
TERM = 'xterm'
WINDIR = 'C:\WINDOWS'
ProgramData = 'C:\ProgramData'
SHLVL = '1'
MINTTY_SHORTCUT = '/cygdrive/c/Users/nort/AppData/Roaming/Microsoft/Internet Explorer/Quick Launch/User Pinned/TaskBar/Cygwin Terminal.lnk'
PRINTER = 'Microsoft Print to PDF'
PROGRAMFILES = 'C:\Program Files'
ALLUSERSPROFILE = 'C:\ProgramData'
TEMP = '/tmp'
DriverData = 'C:\Windows\System32\Drivers\DriverData'
SESSIONNAME = 'Console'
ProgramFiles(x86) = 'C:\Program Files (x86)'
PS1 = '\[\e]0;\w\a\]\n\[\e[32m\]\u@\h \[\e[33m\]\w\[\e[0m\]\n\$ '
HOMEDRIVE = 'C:'
INFOPATH = '/usr/local/info:/usr/share/info:/usr/info'
HOMEPATH = '\Users\nort'
ORIGINAL_PATH = '/cygdrive/c/Program Files (x86)/Intel/iCLS Client:/cygdrive/c/Program Files/Intel/iCLS Client:/cygdrive/c/WINDOWS/system32:/cygdrive/c/WINDOWS:/cygdrive/c/WINDOWS/System32/Wbem:/cygdrive/c/WINDOWS/System32/WindowsPowerShell/v1.0:/cygdrive/c/WINDOWS/System32/OpenSSH:/cygdrive/c/Program Files/MATLAB/R2021a/bin:/cygdrive/c/Program Files (x86)/Intel/Intel(R) Management Engine Components/DAL:/cygdrive/c/Program Files/Intel/Intel(R) Management Engine Components/DAL:/cygdrive/c/Program Files (x86)/Intel/Intel(R) Management Engine Components/IPT:/cygdrive/c/Program Files/Intel/Intel(R) Management Engine Components/IPT:/cygdrive/c/Users/nort/AppData/Local/Microsoft/WindowsApps'
EXECIGNORE = '*.dll'
VBOX_MSI_INSTALL_PATH = 'C:\Program Files\Oracle\VirtualBox\'
NSPR_NATIVE_THREADS_ONLY = '1'
_ = '/usr/bin/cygcheck'

HKEY_CURRENT_USER\SOFTWARE\Cygwin
HKEY_CURRENT_USER\SOFTWARE\Cygwin\Installations
  (default) = '\??\C:\cygwin64'
  2b41f83272f43a60 = '\??\C:\Program Files (x86)\Globus Connect Personal'
HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Directory\background\shell\cygwin64_bash
  (default) = '&Bash Prompt Here'
HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Directory\background\shell\cygwin64_bash\command
  (default) = 'C:\cygwin64\bin\mintty.exe -e /bin/xhere /bin/bash.exe "%V"'
HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Directory\shell\cygwin64_bash
  (default) = '&Bash Prompt Here'
HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Directory\shell\cygwin64_bash\command
  (default) = 'C:\cygwin64\bin\mintty.exe -e /bin/xhere /bin/bash.exe "%L"'
HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Drive\Background\Shell\cygwin64_bash
  (default) = '&Bash Prompt Here'
HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Drive\Background\Shell\cygwin64_bash\command
  (default) = 'C:\cygwin64\bin\mintty.exe -e /bin/xhere /bin/bash.exe "%V"'
HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Drive\shell\cygwin64_bash
  (default) = '&Bash Prompt Here'
HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Drive\shell\cygwin64_bash\command
  (default) = 'C:\cygwin64\bin\mintty.exe -e /bin/xhere /bin/bash.exe "%L"'
HKEY_LOCAL_MACHINE\SOFTWARE\Cygwin
HKEY_LOCAL_MACHINE\SOFTWARE\Cygwin\Installations
  (default) = '\??\C:\cygwin64'
HKEY_LOCAL_MACHINE\SOFTWARE\Cygwin\setup
  (default) = 'C:\cygwin64'
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\cygwin64_bash
  (default) = 'Cygwin Bash Prompt Here (x86_64)'
  UnInstallString = 'C:\cygwin64\bin\sh.exe -c "PATH=/bin /bin/chere -u -s bash"'

obcaseinsensitive set to 1

Cygwin installations found in the registry:
  System: Key: e022582115c10879 Path: C:\cygwin64
  User:   Key: e022582115c10879 Path: C:\cygwin64
  User:   Key: 2b41f83272f43a60 Path: C:\Program Files (x86)\Globus Connect Personal (ORPHANED)

c:  hd  NTFS    243520Mb  36% CP CS UN PA FC    QU  

C:\cygwin64      /          system  binary,auto
C:\cygwin64\bin  /usr/bin   system  binary,auto
C:\cygwin64\lib  /usr/lib   system  binary,auto
cygdrive prefix  /cygdrive  user    binary,posix=0,auto

Found: C:\cygwin64\bin\awk
 -> C:\cygwin64\bin\gawk.exe
Found: C:\cygwin64\bin\bash.exe
Found: C:\cygwin64\bin\cat.exe
Found: C:\WINDOWS\system32\certutil.exe
Not Found: clinfo
Found: C:\WINDOWS\system32\comp.exe
Found: C:\WINDOWS\system32\convert.exe
Found: C:\cygwin64\bin\cp.exe
Found: C:\cygwin64\bin\cpp.exe
Not Found: crontab
Found: C:\WINDOWS\system32\curl.exe
Found: C:\cygwin64\bin\expand.exe
Found: C:\WINDOWS\system32\expand.exe
Warning: C:\cygwin64\bin\expand.exe hides C:\WINDOWS\system32\expand.exe
Found: C:\cygwin64\bin\find.exe
Found: C:\WINDOWS\system32\find.exe
Warning: C:\cygwin64\bin\find.exe hides C:\WINDOWS\system32\find.exe
Found: C:\WINDOWS\system32\ftp.exe
Found: C:\cygwin64\bin\gcc.exe
Found: C:\cygwin64\bin\gdb.exe
Found: C:\cygwin64\bin\grep.exe
Found: C:\cygwin64\bin\hostname.exe
Found: C:\WINDOWS\system32\hostname.exe
Warning: C:\cygwin64\bin\hostname.exe hides C:\WINDOWS\system32\hostname.exe
Found: C:\cygwin64\bin\kill.exe
Found: C:\WINDOWS\system32\klist.exe
Found: C:\cygwin64\bin\ld.exe
Found: C:\cygwin64\bin\ls.exe
Found: C:\cygwin64\bin\make.exe
Found: C:\cygwin64\bin\mv.exe
Found: C:\WINDOWS\system32\nslookup.exe
Not Found: patch
Found: C:\cygwin64\bin\perl.exe
Found: C:\WINDOWS\system32\replace.exe
Found: C:\cygwin64\bin\rm.exe
Found: C:\cygwin64\bin\sed.exe
Found: C:\cygwin64\bin\sh.exe
Found: C:\WINDOWS\system32\shutdown.exe
Found: C:\cygwin64\bin\sort.exe
Found: C:\WINDOWS\system32\sort.exe
Warning: C:\cygwin64\bin\sort.exe hides C:\WINDOWS\system32\sort.exe
Found: C:\cygwin64\bin\ssh.exe
Found: C:\WINDOWS\System32\OpenSSH\ssh.exe
Warning: C:\cygwin64\bin\ssh.exe hides C:\WINDOWS\System32\OpenSSH\ssh.exe
Found: C:\cygwin64\bin\tar.exe
Found: C:\WINDOWS\system32\tar.exe
Warning: C:\cygwin64\bin\tar.exe hides C:\WINDOWS\system32\tar.exe
Found: C:\cygwin64\bin\test.exe
Found: C:\cygwin64\bin\timeout.exe
Found: C:\WINDOWS\system32\timeout.exe
Warning: C:\cygwin64\bin\timeout.exe hides C:\WINDOWS\system32\timeout.exe
Found: C:\cygwin64\bin\vi.exe
Not Found: vim
Found: C:\cygwin64\bin\whoami.exe
Found: C:\WINDOWS\system32\whoami.exe
Warning: C:\cygwin64\bin\whoami.exe hides C:\WINDOWS\system32\whoami.exe

  721k 2022/04/10 C:\cygwin64\bin\cygarchive-13.dll - os=4.0 img=0.0 sys=5.2
                  "cygarchive-13.dll" v0.0 ts=2022-04-10 12:40
   39k 2016/09/19 C:\cygwin64\bin\cygargp-0.dll - os=4.0 img=0.0 sys=5.2
                  "cygargp-0.dll" v0.0 ts=2016-09-19 02:13
  118k 2018/02/11 C:\cygwin64\bin\cygatk-1.0-0.dll - os=4.0 img=0.0 sys=5.2
                  "cygatk-1.0-0.dll" v0.0 ts=2018-02-11 23:28
   29k 2022/05/02 C:\cygwin64\bin\cygatomic-1.dll - os=4.0 img=0.0 sys=5.2
                  "cygatomic-1.dll" v0.0 ts=2022-05-02 11:55
   19k 2018/12/20 C:\cygwin64\bin\cygattr-1.dll - os=4.0 img=0.0 sys=5.2
                  "cygattr-1.dll" v0.0 ts=2018-12-20 09:48
  254k 2020/03/31 C:\cygwin64\bin\cygblkid-1.dll - os=4.0 img=0.0 sys=5.2
                  "cygblkid-1.dll" v0.0 ts=2020-03-28 06:22
  892k 2018/04/09 C:\cygwin64\bin\cygboost_regex-1_66.dll - os=4.0 img=0.0 sys=5.2
                  "cygboost_regex-1_66.dll" v0.0 ts=2018-04-09 20:30
  132k 2021/04/20 C:\cygwin64\bin\cygbrotlicommon-1.dll - os=4.0 img=1.0 sys=5.2
                  "cygbrotlicommon-1.dll" v0.0 ts=2021-04-20 11:42
   46k 2021/04/20 C:\cygwin64\bin\cygbrotlidec-1.dll - os=4.0 img=1.0 sys=5.2
                  "cygbrotlidec-1.dll" v0.0 ts=2021-04-20 11:42
   66k 2019/07/21 C:\cygwin64\bin\cygbz2-1.dll - os=4.0 img=0.0 sys=5.2
                  "cygbz2-1.dll" v0.0 ts=2019-07-22 00:05
 1114k 2020/12/24 C:\cygwin64\bin\cygcairo-2.dll - os=4.0 img=0.0 sys=5.2
                  "cygcairo-2.dll" v0.0 ts=2020-12-24 22:17
   27k 2020/12/24 C:\cygwin64\bin\cygcairo-gobject-2.dll - os=4.0 img=0.0 sys=5.2
                  "cygcairo-gobject-2.dll" v0.0 ts=2020-12-24 22:17
  127k 2020/12/24 C:\cygwin64\bin\cygcairo-script-interpreter-2.dll - os=4.0 img=0.0 sys=5.2
                  "cygcairo-script-interpreter-2.dll" v0.0 ts=2020-12-24 22:18
   29k 2022/02/16 C:\cygwin64\bin\cygcdt-5.dll - os=4.0 img=0.0 sys=5.2
                  "cygcdt-5.dll" v0.0 ts=2022-02-16 14:22
   78k 2022/02/16 C:\cygwin64\bin\cygcgraph-6.dll - os=4.0 img=0.0 sys=5.2
                  "cygcgraph-6.dll" v0.0 ts=2022-02-16 14:22
   13k 2019/01/02 C:\cygwin64\bin\cygcom_err-2.dll - os=4.0 img=0.0 sys=5.2
                  "cygcom_err-2.dll" v0.0 ts=2019-01-02 02:39
  203k 2017/04/25 C:\cygwin64\bin\cygcroco-0.6-3.dll - os=4.0 img=0.0 sys=5.2
                  "cygcroco-0.6-3.dll" v0.0 ts=2017-04-25 17:03
  193k 2021/05/20 C:\cygwin64\bin\cygcrypt-2.dll - os=4.0 img=0.0 sys=5.2
                  "cygcrypt-2.dll" v0.0 ts=2021-05-20 09:38
 2198k 2021/11/28 C:\cygwin64\bin\cygcrypto-1.0.0.dll - os=4.0 img=0.0 sys=5.2
                  "cygcrypto-1.0.0.dll" v0.0 ts=2021-11-28 17:04
 2492k 2022/06/26 C:\cygwin64\bin\cygcrypto-1.1.dll - os=4.0 img=0.0 sys=5.2
                  "cygcrypto-1.1.dll" v0.0 ts=2022-06-26 15:39
  655k 2022/05/15 C:\cygwin64\bin\cygcurl-4.dll - os=4.0 img=0.0 sys=5.2
                  "cygcurl-4.dll" v0.0 ts=2022-05-14 09:00
   24k 2014/11/12 C:\cygwin64\bin\cygdatrie-1.dll - os=4.0 img=0.0 sys=5.2
                  "cygdatrie-1.dll" v0.0 ts=2014-11-12 07:24
 1552k 2017/09/28 C:\cygwin64\bin\cygdb-5.3.dll - os=4.0 img=0.0 sys=5.2
                  "cygdb-5.3.dll" v0.0 ts=2017-09-28 20:05
  119k 2017/09/28 C:\cygwin64\bin\cygdb_cxx-5.3.dll - os=4.0 img=0.0 sys=5.2
                  "cygdb_cxx-5.3.dll" v0.0 ts=2017-09-28 20:06
  569k 2017/09/28 C:\cygwin64\bin\cygdb_sql-5.3.dll - os=4.0 img=0.0 sys=5.2
                  "cygdb_sql-5.3.dll" v0.0 ts=2017-09-28 20:06
   67k 2022/06/21 C:\cygwin64\bin\cygdeflate-0.dll - os=4.0 img=0.0 sys=5.2
                  "cygdeflate-0.dll" v0.0 ts=2022-06-21 15:13
  154k 2013/10/20 C:\cygwin64\bin\cygedit-0.dll - os=4.0 img=0.0 sys=5.2
                  "cygedit-0.dll" v0.0 ts=2013-10-20 21:56
  169k 2021/07/23 C:\cygwin64\bin\cygexpat-1.dll - os=4.0 img=0.0 sys=5.2
                  "cygexpat-1.dll" v0.0 ts=2021-07-23 20:08
   73k 2016/08/26 C:\cygwin64\bin\cygexslt-0.dll - os=4.0 img=0.0 sys=5.2
                  "cygexslt-0.dll" v0.0 ts=2016-08-26 22:10
   30k 2014/10/14 C:\cygwin64\bin\cygfam-0.dll - os=4.0 img=0.0 sys=5.2
                  "cygfam-0.dll" v0.0 ts=2014-10-14 21:33
  353k 2020/03/31 C:\cygwin64\bin\cygfdisk-1.dll - os=4.0 img=0.0 sys=5.2
                  "cygfdisk-1.dll" v0.0 ts=2020-03-28 06:23
   27k 2015/11/17 C:\cygwin64\bin\cygffi-6.dll - os=4.0 img=0.0 sys=5.2
                  "cygffi-6.dll" v0.0 ts=2015-11-17 22:14
  211k 2022/01/20 C:\cygwin64\bin\cygfido2-1.dll - os=4.0 img=1.10 sys=5.2
                  "cygfido2-1.dll" v0.0 ts=2022-01-20 19:37
  251k 2020/09/13 C:\cygwin64\bin\cygfontconfig-1.dll - os=4.0 img=0.0 sys=5.2
                  "cygfontconfig-1.dll" v0.0 ts=2020-09-13 16:50
   56k 2019/07/28 C:\cygwin64\bin\cygformw-10.dll - os=4.0 img=0.0 sys=5.2
                  "cygformw-10.dll" v0.0 ts=2019-07-28 17:33
   10k 2019/07/29 C:\cygwin64\bin\cygfreebl3.dll - os=4.0 img=0.0 sys=5.2
                  "cygfreebl3.dll" v0.0 ts=2019-07-29 22:04
  495k 2019/07/29 C:\cygwin64\bin\cygfreeblpriv3.dll - os=4.0 img=0.0 sys=5.2
                  "cygfreeblpriv3.dll" v0.0 ts=2019-07-29 22:04
  729k 2022/05/04 C:\cygwin64\bin\cygfreetype-6.dll - os=4.0 img=0.0 sys=5.2
                  "cygfreetype-6.dll" v0.0 ts=2022-05-04 17:54
   93k 2016/06/02 C:\cygwin64\bin\cygfribidi-0.dll - os=4.0 img=0.0 sys=5.2
                  "cygfribidi-0.dll" v0.0 ts=2016-06-02 17:17
  146k 2021/10/13 C:\cygwin64\bin\cyggc-1.dll - os=4.0 img=0.0 sys=5.2
                  "cyggc-1.dll" v0.0 ts=2021-10-13 06:55
   74k 2022/05/02 C:\cygwin64\bin\cyggcc_s-seh-1.dll - os=4.0 img=0.0 sys=5.2
                  "cyggcc_s-seh-1.dll" v0.0 ts=2022-05-02 11:29
  813k 2022/04/01 C:\cygwin64\bin\cyggcrypt-20.dll - os=4.0 img=0.0 sys=5.2
                  "cyggcrypt-20.dll" v0.0 ts=2022-04-01 11:24
  351k 2021/09/15 C:\cygwin64\bin\cyggd-3.dll - os=4.0 img=0.0 sys=5.2
                  "cyggd-3.dll" v0.0 ts=2021-09-15 20:24
   49k 2019/07/10 C:\cygwin64\bin\cyggdbm-6.dll - os=4.0 img=0.0 sys=5.2
                  "cyggdbm-6.dll" v0.0 ts=2019-07-10 14:53
   13k 2019/07/10 C:\cygwin64\bin\cyggdbm_compat-4.dll - os=4.0 img=0.0 sys=5.2
                  "cyggdbm_compat-4.dll" v0.0 ts=2019-07-10 14:53
  620k 2018/02/12 C:\cygwin64\bin\cyggdk-x11-2.0-0.dll - os=4.0 img=0.0 sys=5.2
                  "cyggdk-x11-2.0-0.dll" v0.0 ts=2018-02-12 01:51
  141k 2018/02/11 C:\cygwin64\bin\cyggdk_pixbuf-2.0-0.dll - os=4.0 img=0.0 sys=5.2
                  "cyggdk_pixbuf-2.0-0.dll" v0.0 ts=2018-02-11 23:46
 1398k 2018/02/11 C:\cygwin64\bin\cyggio-2.0-0.dll - os=4.0 img=0.0 sys=5.2
                  "cyggio-2.0-0.dll" v0.0 ts=2018-02-11 19:03
  993k 2018/02/11 C:\cygwin64\bin\cygglib-2.0-0.dll - os=4.0 img=0.0 sys=5.2
                  "cygglib-2.0-0.dll" v0.0 ts=2018-02-11 19:01
   15k 2018/02/11 C:\cygwin64\bin\cyggmodule-2.0-0.dll - os=4.0 img=0.0 sys=5.2
                  "cyggmodule-2.0-0.dll" v0.0 ts=2018-02-11 19:01
  582k 2021/08/21 C:\cygwin64\bin\cyggmp-10.dll - os=4.0 img=0.0 sys=5.2
                  "cyggmp-10.dll" v0.0 ts=2021-08-21 19:11
  289k 2018/02/11 C:\cygwin64\bin\cyggobject-2.0-0.dll - os=4.0 img=0.0 sys=5.2
                  "cyggobject-2.0-0.dll" v0.0 ts=2018-02-11 19:02
  217k 2022/05/02 C:\cygwin64\bin\cyggomp-1.dll - os=4.0 img=0.0 sys=5.2
                  "cyggomp-1.dll" v0.0 ts=2022-05-02 11:33
  116k 2020/02/16 C:\cygwin64\bin\cyggpg-error-0.dll - os=4.0 img=0.0 sys=5.2
                  "cyggpg-error-0.dll" v0.0 ts=2020-02-16 21:28
  140k 2020/05/11 C:\cygwin64\bin\cyggraphite2-3.dll - os=4.0 img=3.2 sys=5.2
                  "cyggraphite2-3.dll" v0.0 ts=2020-05-11 19:52
20494k 2021/10/13 C:\cygwin64\bin\cyggs-9.dll - os=4.0 img=0.0 sys=5.2
                  "cyggs-9.dll" v0.0 ts=2021-10-13 14:54
  100k 2017/05/03 C:\cygwin64\bin\cyggsasl-7.dll - os=4.0 img=0.0 sys=5.2
                  "cyggsasl-7.dll" v0.0 ts=2017-05-03 09:33
  274k 2018/03/16 C:\cygwin64\bin\cyggssapi_krb5-2.dll - os=4.0 img=0.0 sys=5.2
                  "cyggssapi_krb5-2.dll" v0.0 ts=2018-03-16 03:38
    9k 2018/02/11 C:\cygwin64\bin\cyggthread-2.0-0.dll - os=4.0 img=0.0 sys=5.2
                  "cyggthread-2.0-0.dll" v0.0 ts=2018-02-11 19:01
 4007k 2018/02/12 C:\cygwin64\bin\cyggtk-x11-2.0-0.dll - os=4.0 img=0.0 sys=5.2
                  "cyggtk-x11-2.0-0.dll" v0.0 ts=2018-02-12 01:59
  333k 2013/06/05 C:\cygwin64\bin\cyggts-0-7-5.dll - os=4.0 img=0.0 sys=5.2
                  "cyggts-0-7-5.dll" v0.0 ts=2013-06-06 00:01
 1070k 2020/03/13 C:\cygwin64\bin\cygguile-2.2-1.dll - os=4.0 img=0.0 sys=5.2
                  "cygguile-2.2-1.dll" v0.0 ts=2020-03-08 21:47
  525k 2022/02/16 C:\cygwin64\bin\cyggvc-6.dll - os=4.0 img=0.0 sys=5.2
                  "cyggvc-6.dll" v0.0 ts=2022-02-16 14:25
  331k 2022/02/16 C:\cygwin64\bin\cyggvpr-2.dll - os=4.0 img=0.0 sys=5.2
                  "cyggvpr-2.dll" v0.0 ts=2022-02-16 14:27
 1063k 2022/05/05 C:\cygwin64\bin\cygharfbuzz-0.dll - os=4.0 img=0.0 sys=5.2
                  "cygharfbuzz-0.dll" v0.0 ts=2022-05-05 18:06
   36k 2021/08/31 C:\cygwin64\bin\cyghistory7.dll - os=4.0 img=0.0 sys=5.2
                  "cyghistory7.dll" v0.0 ts=2021-08-31 07:54
   81k 2019/09/05 C:\cygwin64\bin\cygICE-6.dll - os=4.0 img=0.0 sys=5.2
                  "cygICE-6.dll" v0.0 ts=2019-09-05 21:24
 1063k 2022/05/23 C:\cygwin64\bin\cygiconv-2.dll - os=4.0 img=0.0 sys=5.2
                  "cygiconv-2.dll" v0.0 ts=2022-05-23 12:22
26267k 2018/03/27 C:\cygwin64\bin\cygicudata61.dll - os=4.0 img=0.0 sys=5.2
                  "cygicudata61.dll" v0.0 ts=2018-03-27 02:15
 2339k 2018/03/27 C:\cygwin64\bin\cygicui18n61.dll - os=4.0 img=0.0 sys=5.2
                  "cygicui18n61.dll" v0.0 ts=2018-03-27 02:13
   47k 2018/03/27 C:\cygwin64\bin\cygicuio61.dll - os=4.0 img=0.0 sys=5.2
                  "cygicuio61.dll" v0.0 ts=2018-03-27 02:13
 1506k 2018/03/27 C:\cygwin64\bin\cygicuuc61.dll - os=4.0 img=0.0 sys=5.2
                  "cygicuuc61.dll" v0.0 ts=2018-03-27 02:12
  197k 2017/05/02 C:\cygwin64\bin\cygidn-11.dll - os=4.0 img=0.0 sys=5.2
                  "cygidn-11.dll" v0.0 ts=2017-05-02 01:18
  198k 2021/07/30 C:\cygwin64\bin\cygidn-12.dll - os=4.0 img=0.0 sys=5.2
                  "cygidn-12.dll" v0.0 ts=2021-07-30 06:49
  125k 2021/07/25 C:\cygwin64\bin\cygidn2-0.dll - os=4.0 img=0.0 sys=5.2
                  "cygidn2-0.dll" v0.0 ts=2021-07-25 08:25
   54k 2017/07/06 C:\cygwin64\bin\cygimagequant-0.dll - os=4.0 img=0.0 sys=5.2
                  "cygimagequant-0.dll" v0.0 ts=2017-07-06 18:49
   42k 2021/07/29 C:\cygwin64\bin\cygintl-8.dll - os=4.0 img=0.0 sys=5.2
                  "cygintl-8.dll" v0.0 ts=2021-07-29 03:40
 1560k 2020/03/01 C:\cygwin64\bin\cygisl-22.dll - os=4.0 img=0.0 sys=5.2
                  "cygisl-22.dll" v0.0 ts=2020-03-01 16:46
 1695k 2021/08/21 C:\cygwin64\bin\cygisl-23.dll - os=4.0 img=0.0 sys=5.2
                  "cygisl-23.dll" v0.0 ts=2021-08-21 18:50
  288k 2017/09/25 C:\cygwin64\bin\cygjasper-4.dll - os=4.0 img=4.0 sys=5.2
                  "cygjasper-4.dll" v0.0 ts=2017-09-25 02:39
   49k 2021/05/26 C:\cygwin64\bin\cygjbig-2.dll - os=4.0 img=0.0 sys=5.2
                  "cygjbig-2.dll" v0.0 ts=2021-05-26 14:23
   19k 2021/05/26 C:\cygwin64\bin\cygjbig85-2.dll - os=4.0 img=0.0 sys=5.2
                  "cygjbig85-2.dll" v0.0 ts=2021-05-26 14:23
  655k 2022/03/05 C:\cygwin64\bin\cygjpeg-8.dll - os=4.0 img=8.2 sys=5.2
                  "cygjpeg-8.dll" v0.0 ts=2022-03-05 11:37
  192k 2021/02/18 C:\cygwin64\bin\cygjsoncpp-24.dll - os=4.0 img=1.9 sys=5.2
                  "cygjsoncpp-24.dll" v0.0 ts=2021-02-18 17:48
  192k 2018/03/16 C:\cygwin64\bin\cygk5crypto-3.dll - os=4.0 img=0.0 sys=5.2
                  "cygk5crypto-3.dll" v0.0 ts=2018-03-16 03:37
  754k 2018/03/16 C:\cygwin64\bin\cygkrb5-3.dll - os=4.0 img=0.0 sys=5.2
                  "cygkrb5-3.dll" v0.0 ts=2018-03-16 03:37
   37k 2018/03/16 C:\cygwin64\bin\cygkrb5support-0.dll - os=4.0 img=0.0 sys=5.2
                  "cygkrb5support-0.dll" v0.0 ts=2018-03-16 03:36
   50k 2022/02/16 C:\cygwin64\bin\cyglab_gamut-1.dll - os=4.0 img=0.0 sys=5.2
                  "cyglab_gamut-1.dll" v0.0 ts=2022-02-16 14:25
   48k 2014/04/07 C:\cygwin64\bin\cygLASi-1.dll - os=4.0 img=1.0 sys=5.2
                  "cygLASi-1.dll" v0.0 ts=1970-01-01 00:00
   49k 2022/05/07 C:\cygwin64\bin\cyglber-2-4-2.dll - os=4.0 img=0.0 sys=5.2
                  "cyglber-2.dll" v0.0 ts=2022-05-07 17:15
   49k 2022/05/07 C:\cygwin64\bin\cyglber-2-5-0.dll - os=4.0 img=0.0 sys=5.2
                  "cyglber-2.dll" v0.0 ts=2022-05-07 17:15
   49k 2022/05/07 C:\cygwin64\bin\cyglber-2.dll - os=4.0 img=0.0 sys=5.2
                  "cyglber-2.dll" v0.0 ts=2022-05-07 17:15
  343k 2022/04/11 C:\cygwin64\bin\cyglcms2-2.dll - os=4.0 img=0.0 sys=5.2
                  "cyglcms2-2.dll" v0.0 ts=2022-04-11 20:34
  324k 2022/05/07 C:\cygwin64\bin\cygldap-2-4-2.dll - os=4.0 img=0.0 sys=5.2
                  "cygldap-2.dll" v0.0 ts=2022-05-07 17:16
  324k 2022/05/07 C:\cygwin64\bin\cygldap-2-5-0.dll - os=4.0 img=0.0 sys=5.2
                  "cygldap-2.dll" v0.0 ts=2022-05-07 17:16
  324k 2022/05/07 C:\cygwin64\bin\cygldap-2.dll - os=4.0 img=0.0 sys=5.2
                  "cygldap-2.dll" v0.0 ts=2022-05-07 17:16
  324k 2022/05/07 C:\cygwin64\bin\cygldap_r-2-4-2.dll - os=4.0 img=0.0 sys=5.2
                  "cygldap-2.dll" v0.0 ts=2022-05-07 17:16
   36k 2022/03/19 C:\cygwin64\bin\cygltdl-7.dll - os=4.0 img=0.0 sys=5.2
                  "cygltdl-7.dll" v0.0 ts=2022-03-19 14:23
   73k 2017/06/19 C:\cygwin64\bin\cyglz4-1.dll - os=4.0 img=0.0 sys=5.2
                  "cyglz4-1.dll" v0.0 ts=2017-06-19 15:40
  147k 2022/03/06 C:\cygwin64\bin\cyglzma-5.dll - os=4.0 img=0.0 sys=5.2
                  "cyglzma-5.dll" v0.0 ts=2022-03-06 18:26
  132k 2020/10/31 C:\cygwin64\bin\cyglzo2-2.dll - os=4.0 img=0.0 sys=5.2
                  "cyglzo2-2.dll" v0.0 ts=2020-10-31 16:58
  157k 2022/01/12 C:\cygwin64\bin\cygmagic-1.dll - os=4.0 img=0.0 sys=5.2
                  "cygmagic-1.dll" v0.0 ts=2022-01-12 09:43
  212k 2022/03/19 C:\cygwin64\bin\cygman-2-10-2.dll - os=4.0 img=0.0 sys=5.2
                  "cygman-2-10-2.dll" v0.0 ts=2022-03-19 15:41
   24k 2022/03/19 C:\cygwin64\bin\cygmandb-2-10-2.dll - os=4.0 img=0.0 sys=5.2
                  "cygmandb-2-10-2.dll" v0.0 ts=2022-03-19 15:41
   28k 2019/07/28 C:\cygwin64\bin\cygmenuw-10.dll - os=4.0 img=0.0 sys=5.2
                  "cygmenuw-10.dll" v0.0 ts=2019-07-28 17:32
  100k 2021/08/21 C:\cygwin64\bin\cygmpc-3.dll - os=4.0 img=0.0 sys=5.2
                  "cygmpc-3.dll" v0.0 ts=2021-08-21 19:35
 2663k 2021/08/21 C:\cygwin64\bin\cygmpfr-6.dll - os=4.0 img=0.0 sys=5.2
                  "cygmpfr-6.dll" v0.0 ts=2021-08-21 19:01
   47k 2019/07/28 C:\cygwin64\bin\cygncurses++w-10.dll - os=4.0 img=0.0 sys=5.2
                  "cygncurses++w-10.dll" v0.0 ts=2019-07-28 17:47
  301k 2019/07/28 C:\cygwin64\bin\cygncursesw-10.dll - os=4.0 img=0.0 sys=5.2
                  "cygncursesw-10.dll" v0.0 ts=2019-07-28 17:30
  156k 2022/03/13 C:\cygwin64\bin\cygnghttp2-14.dll - os=4.0 img=0.0 sys=5.2
                  "cygnghttp2-14.dll" v0.0 ts=2022-03-13 19:37
  226k 2019/07/29 C:\cygwin64\bin\cygnspr4.dll - os=4.0 img=0.0 sys=5.2
                  "cygnspr4.dll" v0.0 ts=2019-07-29 04:09
 1360k 2019/07/29 C:\cygwin64\bin\cygnss3.dll - os=4.0 img=0.0 sys=5.2
                  "cygnss3.dll" v0.0 ts=2019-07-29 22:04
  168k 2019/07/29 C:\cygwin64\bin\cygnssdbm3.dll - os=4.0 img=0.0 sys=5.2
                  "cygnssdbm3.dll" v0.0 ts=2019-07-29 22:04
  165k 2019/07/29 C:\cygwin64\bin\cygnssutil3.dll - os=4.0 img=0.0 sys=5.2
                  "cygnssutil3.dll" v0.0 ts=2019-07-29 22:04
   30k 2015/03/19 C:\cygwin64\bin\cygntlm-0.dll - os=4.0 img=0.0 sys=5.2
                  "cygntlm-0.dll" v0.0 ts=2015-03-19 02:15
  343k 2022/05/23 C:\cygwin64\bin\cygopenjp2-7.dll - os=4.0 img=2.5 sys=5.2
                  "cygopenjp2-7.dll" v0.0 ts=2022-05-23 12:41
 1020k 2020/03/27 C:\cygwin64\bin\cygp11-kit-0.dll - os=4.0 img=0.0 sys=5.2
                  "cygp11-kit-0.dll" v0.0 ts=2020-03-27 22:30
   14k 2019/07/28 C:\cygwin64\bin\cygpanelw-10.dll - os=4.0 img=0.0 sys=5.2
                  "cygpanelw-10.dll" v0.0 ts=2019-07-28 17:32
  270k 2018/02/12 C:\cygwin64\bin\cygpango-1.0-0.dll - os=4.0 img=0.0 sys=5.2
                  "cygpango-1.0-0.dll" v0.0 ts=2018-02-12 00:40
   44k 2018/02/12 C:\cygwin64\bin\cygpangocairo-1.0-0.dll - os=4.0 img=0.0 sys=5.2
                  "cygpangocairo-1.0-0.dll" v0.0 ts=2018-02-12 00:41
   72k 2018/02/12 C:\cygwin64\bin\cygpangoft2-1.0-0.dll - os=4.0 img=0.0 sys=5.2
                  "cygpangoft2-1.0-0.dll" v0.0 ts=2018-02-12 00:40
   28k 2018/02/12 C:\cygwin64\bin\cygpangoxft-1.0-0.dll - os=4.0 img=0.0 sys=5.2
                  "cygpangoxft-1.0-0.dll" v0.0 ts=2018-02-12 00:41
   12k 2020/05/13 C:\cygwin64\bin\cygpaper-1.dll - os=4.0 img=0.0 sys=5.2
                  "cygpaper-1.dll" v0.0 ts=2020-05-13 01:47
   31k 2022/02/16 C:\cygwin64\bin\cygpathplan-4.dll - os=4.0 img=0.0 sys=5.2
                  "cygpathplan-4.dll" v0.0 ts=2022-02-16 14:23
  497k 2021/06/20 C:\cygwin64\bin\cygpcre-1.dll - os=4.0 img=0.0 sys=5.2
                  "cygpcre-1.dll" v0.0 ts=2021-06-20 12:53
  627k 2022/04/30 C:\cygwin64\bin\cygpcre2-8-0.dll - os=4.0 img=0.0 sys=5.2
                  "cygpcre2-8-0.dll" v0.0 ts=2022-04-30 13:08
 3566k 2021/08/14 C:\cygwin64\bin\cygperl5_32.dll - os=4.0 img=0.0 sys=5.2
                  "cygperl5_32.dll" v0.0 ts=2021-08-14 08:07
   42k 2020/12/27 C:\cygwin64\bin\cygpipeline-1.dll - os=4.0 img=0.0 sys=5.2
                  "cygpipeline-1.dll" v0.0 ts=2020-12-27 14:15
  651k 2020/11/30 C:\cygwin64\bin\cygpixman-1-0.dll - os=4.0 img=0.0 sys=5.2
                  "cygpixman-1-0.dll" v0.0 ts=2020-11-30 17:23
   55k 2022/03/06 C:\cygwin64\bin\cygpkgconf-3.dll - os=4.0 img=0.0 sys=5.2
                  "cygpkgconf-3.dll" v0.0 ts=2022-03-06 18:17
   17k 2019/07/29 C:\cygwin64\bin\cygplc4.dll - os=4.0 img=0.0 sys=5.2
                  "cygplc4.dll" v0.0 ts=2019-07-29 04:09
   14k 2019/07/29 C:\cygwin64\bin\cygplds4.dll - os=4.0 img=0.0 sys=5.2
                  "cygplds4.dll" v0.0 ts=2019-07-29 04:09
  185k 2019/07/21 C:\cygwin64\bin\cygpng16-16.dll - os=4.0 img=0.0 sys=5.2
                  "cygpng16-16.dll" v0.0 ts=2019-07-22 00:15
 2742k 2021/01/15 C:\cygwin64\bin\cygpoppler-106.dll - os=4.0 img=106.0 sys=5.2
                  "cygpoppler-106.dll" v0.0 ts=2021-01-15 15:09
  326k 2021/01/15 C:\cygwin64\bin\cygpoppler-glib-8.dll - os=4.0 img=8.19 sys=5.2
                  "cygpoppler-glib-8.dll" v0.0 ts=2021-01-15 15:10
   42k 2020/12/31 C:\cygwin64\bin\cygpopt-0.dll - os=4.0 img=0.0 sys=5.2
                  "cygpopt-0.dll" v0.0 ts=2020-12-31 12:16
   69k 2021/05/21 C:\cygwin64\bin\cygpsl-5.dll - os=4.0 img=0.0 sys=5.2
                  "cygpsl-5.dll" v0.0 ts=2021-05-21 08:58
  355k 2022/05/02 C:\cygwin64\bin\cygquadmath-0.dll - os=4.0 img=0.0 sys=5.2
                  "cygquadmath-0.dll" v0.0 ts=2022-05-02 11:56
   18k 2020/05/17 C:\cygwin64\bin\cygraqm-0.dll - os=4.0 img=0.0 sys=5.2
                  "cygraqm-0.dll" v0.0 ts=2020-05-17 15:41
  254k 2021/08/31 C:\cygwin64\bin\cygreadline7.dll - os=4.0 img=0.0 sys=5.2
                  "cygreadline7.dll" v0.0 ts=2021-08-31 07:54
  190k 2021/05/01 C:\cygwin64\bin\cygrhash-0.dll - os=4.0 img=0.0 sys=5.2
                  "cygrhash-0.dll" v0.0 ts=2021-05-01 15:34
  212k 2018/02/12 C:\cygwin64\bin\cygrsvg-2-2.dll - os=4.0 img=0.0 sys=5.2
                  "cygrsvg-2-2.dll" v0.0 ts=2018-02-12 00:38
   99k 2020/01/09 C:\cygwin64\bin\cygsasl2-3.dll - os=4.0 img=0.0 sys=5.2
                  "cygsasl2-3.dll" v0.0 ts=2020-01-09 02:13
   11k 2015/07/17 C:\cygwin64\bin\cygsigsegv-2.dll - os=4.0 img=0.0 sys=5.2
                  "cygsigsegv-2.dll" v0.0 ts=2015-07-17 22:35
   29k 2019/09/05 C:\cygwin64\bin\cygSM-6.dll - os=4.0 img=0.0 sys=5.2
                  "cygSM-6.dll" v0.0 ts=2019-09-05 21:53
  156k 2020/03/31 C:\cygwin64\bin\cygsmartcols-1.dll - os=4.0 img=0.0 sys=5.2
                  "cygsmartcols-1.dll" v0.0 ts=2020-03-28 06:22
  171k 2019/07/29 C:\cygwin64\bin\cygsmime3.dll - os=4.0 img=0.0 sys=5.2
                  "cygsmime3.dll" v0.0 ts=2019-07-29 22:04
  289k 2019/07/29 C:\cygwin64\bin\cygsoftokn3.dll - os=4.0 img=0.0 sys=5.2
                  "cygsoftokn3.dll" v0.0 ts=2019-07-29 22:04
  733k 2018/04/12 C:\cygwin64\bin\cygsource-highlight-4.dll - os=4.0 img=0.0 sys=5.2
                  "cygsource-highlight-4.dll" v0.0 ts=2018-04-12 01:30
 1277k 2020/12/24 C:\cygwin64\bin\cygsqlite3-0.dll - os=4.0 img=0.0 sys=5.2
                  "cygsqlite3-0.dll" v0.0 ts=2020-12-24 07:59
  230k 2021/08/31 C:\cygwin64\bin\cygssh2-1.dll - os=4.0 img=0.0 sys=5.2
                  "cygssh2-1.dll" v0.0 ts=2021-08-31 08:06
  392k 2021/11/28 C:\cygwin64\bin\cygssl-1.0.0.dll - os=4.0 img=0.0 sys=5.2
                  "cygssl-1.0.0.dll" v0.0 ts=2021-11-28 17:04
  512k 2022/06/26 C:\cygwin64\bin\cygssl-1.1.dll - os=4.0 img=0.0 sys=5.2
                  "cygssl-1.1.dll" v0.0 ts=2022-06-26 15:39
  444k 2019/07/29 C:\cygwin64\bin\cygssl3.dll - os=4.0 img=0.0 sys=5.2
                  "cygssl3.dll" v0.0 ts=2019-07-29 22:04
 1870k 2022/05/02 C:\cygwin64\bin\cygstdc++-6.dll - os=4.0 img=0.0 sys=5.2
                  "cygstdc++-6.dll" v0.0 ts=2022-05-02 11:43
   68k 2019/07/29 C:\cygwin64\bin\cygtasn1-6.dll - os=4.0 img=0.0 sys=5.2
                  "cygtasn1-6.dll" v0.0 ts=2019-07-29 03:12
   34k 2017/03/05 C:\cygwin64\bin\cygthai-0.dll - os=4.0 img=0.0 sys=5.2
                  "cygthai-0.dll" v0.0 ts=2017-03-05 04:36
   57k 2019/07/28 C:\cygwin64\bin\cygticw-10.dll - os=4.0 img=0.0 sys=5.2
                  "cygticw-10.dll" v0.0 ts=2019-07-28 17:31
  468k 2022/05/29 C:\cygwin64\bin\cygtiff-6.dll - os=4.0 img=0.0 sys=5.2
                  "cygtiff-6.dll" v0.0 ts=2022-05-29 15:33
   12k 2022/05/29 C:\cygwin64\bin\cygtiffxx-6.dll - os=4.0 img=0.0 sys=5.2
                  "cygtiffxx-6.dll" v0.0 ts=2022-05-29 15:33
 1612k 2018/08/16 C:\cygwin64\bin\cygunistring-2.dll - os=4.0 img=0.0 sys=5.2
                  "cygunistring-2.dll" v0.0 ts=2018-08-16 20:33
   27k 2020/03/31 C:\cygwin64\bin\cyguuid-1.dll - os=4.0 img=0.0 sys=5.2
                  "cyguuid-1.dll" v0.0 ts=2020-03-28 06:22
  145k 2022/01/23 C:\cygwin64\bin\cyguv-1.dll - os=4.0 img=0.0 sys=5.2
                  "cyguv-1.dll" v0.0 ts=2022-01-23 04:54
  432k 2022/01/31 C:\cygwin64\bin\cygwebp-7.dll - os=4.0 img=0.0 sys=5.2
                  "cygwebp-7.dll" v0.0 ts=2022-01-30 08:08
 1168k 2022/05/01 C:\cygwin64\bin\cygX11-6.dll - os=4.0 img=0.0 sys=5.2
                  "cygX11-6.dll" v0.0 ts=2022-05-01 14:48
 2244k 2017/11/26 C:\cygwin64\bin\cygxapian-30.dll - os=4.0 img=0.0 sys=5.2
                  "cygxapian-30.dll" v0.0 ts=2017-11-26 19:44
   13k 2019/09/05 C:\cygwin64\bin\cygXau-6.dll - os=4.0 img=0.0 sys=5.2
                  "cygXau-6.dll" v0.0 ts=2019-09-05 18:13
  396k 2021/04/18 C:\cygwin64\bin\cygXaw-7.dll - os=4.0 img=0.0 sys=5.2
                  "cygXaw-7.dll" v0.0 ts=2021-04-18 15:05
  134k 2022/05/06 C:\cygwin64\bin\cygxcb-1.dll - os=4.0 img=0.0 sys=5.2
                  "cygxcb-1.dll" v0.0 ts=2022-05-06 11:43
   43k 2022/05/06 C:\cygwin64\bin\cygxcb-render-0.dll - os=4.0 img=0.0 sys=5.2
                  "cygxcb-render-0.dll" v0.0 ts=2022-05-06 11:43
   12k 2022/05/06 C:\cygwin64\bin\cygxcb-shm-0.dll - os=4.0 img=0.0 sys=5.2
                  "cygxcb-shm-0.dll" v0.0 ts=2022-05-06 11:43
   11k 2019/09/05 C:\cygwin64\bin\cygXcomposite-1.dll - os=4.0 img=0.0 sys=5.2
                  "cygXcomposite-1.dll" v0.0 ts=2019-09-05 22:09
   36k 2022/05/03 C:\cygwin64\bin\cygXcursor-1.dll - os=4.0 img=0.0 sys=5.2
                  "cygXcursor-1.dll" v0.0 ts=2022-05-03 19:21
   11k 2019/09/05 C:\cygwin64\bin\cygXdamage-1.dll - os=4.0 img=0.0 sys=5.2
                  "cygXdamage-1.dll" v0.0 ts=2019-09-05 22:36
   21k 2019/09/05 C:\cygwin64\bin\cygXdmcp-6.dll - os=4.0 img=0.0 sys=5.2
                  "cygXdmcp-6.dll" v0.0 ts=2019-09-05 18:29
   60k 2019/09/05 C:\cygwin64\bin\cygXext-6.dll - os=4.0 img=0.0 sys=5.2
                  "cygXext-6.dll" v0.0 ts=2019-09-05 20:44
   21k 2021/06/06 C:\cygwin64\bin\cygXfixes-3.dll - os=4.0 img=0.0 sys=5.2
                  "cygXfixes-3.dll" v0.0 ts=2021-06-06 17:20
   78k 2021/10/06 C:\cygwin64\bin\cygXft-2.dll - os=4.0 img=0.0 sys=5.2
                  "cygXft-2.dll" v0.0 ts=2021-10-06 17:00
   65k 2021/10/05 C:\cygwin64\bin\cygXi-6.dll - os=4.0 img=0.0 sys=5.2
                  "cygXi-6.dll" v0.0 ts=2021-10-05 14:41
   11k 2019/09/05 C:\cygwin64\bin\cygXinerama-1.dll - os=4.0 img=0.0 sys=5.2
                  "cygXinerama-1.dll" v0.0 ts=2019-09-05 22:03
 1261k 2022/01/07 C:\cygwin64\bin\cygxml2-2.dll - os=4.0 img=0.0 sys=5.2
                  "cygxml2-2.dll" v0.0 ts=2022-01-07 05:32
   88k 2019/09/05 C:\cygwin64\bin\cygXmu-6.dll - os=4.0 img=0.0 sys=5.2
                  "cygXmu-6.dll" v0.0 ts=2019-09-05 23:40
   64k 2020/04/02 C:\cygwin64\bin\cygXpm-4.dll - os=4.0 img=0.0 sys=5.2
                  "cygXpm-4.dll" v0.0 ts=2020-04-02 15:14
   37k 2019/09/05 C:\cygwin64\bin\cygXrandr-2.dll - os=4.0 img=0.0 sys=5.2
                  "cygXrandr-2.dll" v0.0 ts=2019-09-05 22:53
   38k 2020/04/01 C:\cygwin64\bin\cygXrender-1.dll - os=4.0 img=0.0 sys=5.2
                  "cygXrender-1.dll" v0.0 ts=2020-04-01 23:28
  209k 2016/08/26 C:\cygwin64\bin\cygxslt-1.dll - os=4.0 img=0.0 sys=5.2
                  "cygxslt-1.dll" v0.0 ts=2016-08-26 22:10
  343k 2021/04/14 C:\cygwin64\bin\cygXt-6.dll - os=4.0 img=0.0 sys=5.2
                  "cygXt-6.dll" v0.0 ts=2021-04-14 12:49
   37k 2020/09/06 C:\cygwin64\bin\cygxxhash-0.dll - os=4.0 img=0.0 sys=5.2
                  "cygxxhash-0.dll" v0.0 ts=2020-09-07 00:04
   88k 2022/04/10 C:\cygwin64\bin\cygz.dll - os=4.0 img=0.0 sys=5.2
                  "cygz.dll" v0.0 ts=2022-04-10 20:26
  624k 2022/01/22 C:\cygwin64\bin\cygzstd-1.dll - os=4.0 img=0.0 sys=5.2
                  "cygzstd-1.dll" v0.0 ts=2022-01-22 17:21
 3486k 2022/05/13 C:\cygwin64\bin\cygwin1.dll - os=4.0 img=0.0 sys=5.2
                  "cygwin1.dll" v0.0 ts=2022-05-13 13:27
    Cygwin DLL version info:
        DLL version: 3.3.5
        DLL epoch: 19
        DLL old termios: 5
        DLL malloc env: 28
        Cygwin conv: 181
        API major: 0
        API minor: 341
        Shared data: 5
        DLL identifier: cygwin1
        Mount registry: 3
        Cygwin registry name: Cygwin
        Installations name: Installations
        Cygdrive default prefix: 
        Build date: 
        Shared id: cygwin1S5


Service             : cygserver           
Display name        : CYGWIN cygserver
Current State       : Running
Controls Accepted   : Stop
Command             : /usr/sbin/cygserver
stdin path          : /dev/null
stdout path         : /var/log/cygserver.log
stderr path         : /var/log/cygserver.log
Process Type        : Own Process
Startup             : Automatic
Account             : LocalSystem


Cygwin Package Information
Last downloaded files to: C:\Users\nort\Downloads
Last downloaded files from: http://mirror.cs.vt.edu/pub/cygwin/cygwin/

Package                    Version                         Status
_autorebase                001091-1                        OK
adwaita-icon-theme         3.26.1-1                        OK
alternatives               1.3.30c-10                      OK
base-cygwin                3.8-1                           OK
base-files                 4.3-3                           OK
bash                       4.4.12-3                        OK
binutils                   2.38-1                          OK
bison                      3.8.2-1                         OK
bzip2                      1.0.8-1                         OK
ca-certificates            2021.2.52-1                     OK
chere                      1.4-1                           OK
cmake                      3.20.0-1                        OK
coreutils                  8.32-1                          OK
crypto-policies            20190218-1                      OK
csih                       0.9.11-1                        OK
cygrunsrv                  1.62-1                          OK
cygutils                   1.4.17-1                        OK
cygwin                     3.3.5-1                         OK
cygwin-devel               3.3.5-1                         OK
cygwin-doc                 3.3.5-1                         OK
dash                       0.5.11.5-1                      OK
dejavu-fonts               2.37-1                          OK
desktop-file-utils         0.23-1                          OK
diffutils                  3.8-1                           OK
doxygen                    1.9.4-1                         OK
editrights                 1.03-1                          OK
file                       5.41-2                          OK
findutils                  4.9.0-1                         OK
flex                       2.6.4-2                         OK
gamin                      0.1.10-15                       OK
gawk                       5.1.1-1                         OK
gcc-core                   11.3.0-1                        OK
gcc-g++                    11.3.0-1                        OK
gdb                        11.2-1                          OK
getent                     2.18.90-4                       OK
git                        2.36.1-1                        OK
graphviz                   2.50.0-1                        OK
grep                       3.7-2                           OK
groff                      1.22.4-1                        OK
gsettings-desktop-schemas  3.24.1-1                        OK
gtk-update-icon-cache      3.22.28-1                       OK
gzip                       1.12-1                          OK
hicolor-icon-theme         0.15-1                          OK
hostname                   3.13-1                          OK
info                       6.8-2                           OK
ipc-utils                  1.0-2                           OK
less                       590-1                           OK
libarchive13               3.6.1-1                         OK
libargp                    20110921-3                      OK
libatk1.0_0                2.26.1-1                        OK
libatomic1                 11.3.0-1                        OK
libattr1                   2.4.48-2                        OK
libblkid1                  2.33.1-2                        OK
libboost_regex1.66         1.66.0-1                        OK
libbrotlicommon1           1.0.9-2                         OK
libbrotlidec1              1.0.9-2                         OK
libbz2_1                   1.0.8-1                         OK
libcairo2                  1.17.4-1                        OK
libcbor                    0.9.0-3                         OK
libcbor-devel              0.9.0-3                         OK
libcdt5                    2.50.0-1                        OK
libcgraph6                 2.50.0-1                        OK
libcom_err2                1.44.5-1                        OK
libcroco0.6_3              0.6.12-1                        OK
libcrypt2                  4.4.20-1                        OK
libcurl4                   7.83.1-1                        OK
libdatrie1                 0.2.8-1                         OK
libdb5.3                   5.3.28-2                        OK
libdeflate0                1.12-1                          OK
libedit0                   20130712-1                      OK
libexpat1                  2.4.1-1                         OK
libfam0                    0.1.10-15                       OK
libfdisk1                  2.33.1-2                        OK
libffi6                    3.2.1-2                         OK
libfido2                   1.10.0-1                        OK
libfontconfig-common       2.13.1-2                        OK
libfontconfig1             2.13.1-2                        OK
libfreetype6               2.12.1-1                        OK
libfribidi0                0.19.7-1                        OK
libgc1                     8.0.6-1                         OK
libgcc1                    11.3.0-1                        OK
libgcrypt20                1.10.1-1                        OK
libgd3                     2.3.3-1                         OK
libgdbm6                   1.18.1-1                        OK
libgdbm_compat4            1.18.1-1                        OK
libgdk_pixbuf2.0_0         2.36.11-1                       OK
libglib2.0_0               2.54.3-1                        OK
libgmp10                   6.2.1-2                         OK
libgomp1                   11.3.0-1                        OK
libgpg-error0              1.37-1                          OK
libgraphite2_3             1.3.14-1                        OK
libgs9                     9.55.0-1                        OK
libgsasl-common            1.8.0-4                         OK
libgsasl7                  1.8.0-4                         OK
libgssapi_krb5_2           1.15.2-2                        OK
libgtk2.0_0                2.24.32-1                       OK
libgts0.7_5                20121130-1                      OK
libguile2.2_1              2.2.7-1                         OK
libgvc6                    2.50.0-1                        OK
libgvpr2                   2.50.0-1                        OK
libharfbuzz0               4.2.1-1                         OK
libICE6                    1.0.10-1                        OK
libiconv                   1.17-1                          OK
libiconv2                  1.17-1                          OK
libicu61                   61.1-1                          OK
libidn11                   1.33-1                          OK
libidn12                   1.38-1                          OK
libidn2_0                  2.3.2-1                         OK
libimagequant0             2.10.0-1                        OK
libintl8                   0.21-1                          OK
libisl22                   0.22.1-2                        OK
libisl23                   0.24-2                          OK
libjasper4                 2.0.14-1                        OK
libjbig2                   2.1-2                           OK
libjpeg8                   2.1.3-1                         OK
libjsoncpp24               1.9.4-1                         OK
libk5crypto3               1.15.2-2                        OK
libkrb5_3                  1.15.2-2                        OK
libkrb5support0            1.15.2-2                        OK
liblab_gamut1              2.50.0-1                        OK
libLASi1                   1.1.1-2                         OK
liblcms2_2                 2.13.1-1                        OK
libltdl7                   2.4.7-1                         OK
liblz4_1                   1.7.5-1                         OK
liblzma5                   5.2.5-1                         OK
liblzo2_2                  2.10-2                          OK
libmpc3                    1.2.1-2                         OK
libmpfr6                   4.1.0-2                         OK
libncurses++w10            6.1-1.20190727                  OK
libncurses-devel           6.1-1.20190727                  OK
libncursesw10              6.1-1.20190727                  OK
libnghttp2_14              1.47.0-1                        OK
libnspr4                   4.21-1                          OK
libnss3                    3.45-1                          OK
libntlm0                   1.4-1                           OK
libopenjp2_7               2.5.0-1                         OK
libopenldap2               2.6.2-1                         OK
libopenldap2_4_2           2.6.2-1                         OK
libopenldap2_5_0           2.6.2-1                         OK
libp11-kit0                0.23.20-1                       OK
libpango1.0_0              1.40.14-1                       OK
libpaper-common            1.1.28-1                        OK
libpaper1                  1.1.28-1                        OK
libpathplan4               2.50.0-1                        OK
libpcre1                   8.45-1                          OK
libpcre2_8_0               10.40-1                         OK
libpipeline1               1.5.3-1                         OK
libpixman1_0               0.40.0-1                        OK
libpkgconf3                1.8.0-1                         OK
libpng16                   1.6.37-1                        OK
libpoppler-glib8           21.01.0-1                       OK
libpoppler106              21.01.0-1                       OK
libpopt-common             1.18-1                          OK
libpopt0                   1.18-1                          OK
libpsl5                    0.21.1-1                        OK
libquadmath0               11.3.0-1                        OK
libraqm0                   0.7.0-1                         OK
libreadline7               8.1-2                           OK
librhash0                  1.4.1-1                         OK
librsvg2_2                 2.40.20-1                       OK
libsasl2_3                 2.1.27-1                        OK
libsigsegv2                2.10-2                          OK
libSM6                     1.2.3-1                         OK
libsmartcols1              2.33.1-2                        OK
libsource-highlight-common 3.1.8-6                         OK
libsource-highlight4       3.1.8-6                         OK
libsqlite3_0               3.34.0-1                        OK
libssh2_1                  1.10.0-1                        OK
libssl1.0                  1.0.2u+za-1                     OK
libssl1.1                  1.1.1p-1                        OK
libstdc++6                 11.3.0-1                        OK
libtasn1_6                 4.14-1                          OK
libthai0                   0.1.26-1                        OK
libtiff6                   4.4.0-1                         OK
libunistring2              0.9.10-1                        OK
libuuid-devel              2.33.1-2                        OK
libuuid1                   2.33.1-2                        OK
libuv1                     1.43.0-1                        OK
libwebp7                   1.2.2-1                         OK
libX11_6                   1.8-1                           OK
libxapian30                1.4.5-1                         OK
libXau6                    1.0.9-1                         OK
libXaw7                    1.0.14-1                        OK
libxcb-render0             1.15-1                          OK
libxcb-shm0                1.15-1                          OK
libxcb1                    1.15-1                          OK
libXcomposite1             0.4.5-1                         OK
libXcursor1                1.2.1-1                         OK
libXdamage1                1.1.5-1                         OK
libXdmcp6                  1.1.3-1                         OK
libXext6                   1.3.4-1                         OK
libXfixes3                 6.0.0-1                         OK
libXft2                    2.3.4-1                         OK
libXi6                     1.8-1                           OK
libXinerama1               1.1.4-1                         OK
libxml2                    2.9.12-2                        OK
libXmu6                    1.1.3-1                         OK
libXpm4                    3.5.13-1                        OK
libXrandr2                 1.5.2-1                         OK
libXrender1                0.9.10-1                        OK
libxslt                    1.1.29-1                        OK
libXt6                     1.2.1-1                         OK
libxxhash0                 0.8.0-1                         OK
libzstd1                   1.5.2-1                         OK
login                      1.13-1                          OK
m4                         1.4.19-1                        OK
make                       4.3-1                           OK
man-db                     2.10.2-1                        OK
mintty                     3.6.1-1                         OK
ncdu                       1.10-1                          OK
ncurses                    6.1-1.20190727                  OK
openssh                    9.0p1-1                         OK
openssl                    1.1.1p-1                        OK
p11-kit                    0.23.20-1                       OK
p11-kit-trust              0.23.20-1                       OK
perl                       5.32.1-2                        OK
perl-Error                 0.17029-2                       OK
perl-Scalar-List-Utils     1.62-1                          OK
perl-TermReadKey           2.38-3                          OK
perl_autorebase            5.32.1-2                        OK
perl_base                  5.32.1-2                        OK
pkg-config                 1.8.0-1                         OK
pkgconf                    1.8.0-1                         OK
poppler-data               0.4.10-1                        OK
publicsuffix-list-dafsa    20220430-1                      OK
python36                   3.6.15-1                        OK
python36-pip               21.3.1-3                        OK
python36-setuptools        59.5.0-1                        OK
python38                   3.8.12-1                        OK
python38-pip               21.3.1-3                        OK
python38-setuptools        59.5.0-1                        OK
python39                   3.9.10-1                        OK
python39-pip               21.3.1-3                        OK
python39-setuptools        59.5.0-1                        OK
rebase                     4.5.0-1                         OK
rsync                      3.2.3+20200903+git9f9240b-4     OK
run                        1.3.4-2                         OK
screen                     4.9.0-1                         OK
sed                        4.8-1                           OK
shared-mime-info           2.2-1                           OK
tar                        1.34-1                          OK
terminfo                   6.1-1.20190727                  OK
terminfo-extra             6.1-1.20190727                  OK
tzcode                     2022a-1                         OK
tzdata                     2022a-1                         OK
util-linux                 2.33.1-2                        OK
vim-minimal                8.2.4372-1                      OK
w32api-headers             10.0.0-1                        OK
w32api-runtime             10.0.0-1                        OK
which                      2.20-2                          OK
windows-default-manifest   6.4-1                           OK
xz                         5.2.5-1                         OK
zlib0                      1.2.12-1                        OK
zstd                       1.5.2-1                         OK
Use -h to see help about each section

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: chmod g+s ineffective
  2022-06-29 12:12 chmod g+s ineffective Norton Allen
@ 2022-06-29 12:39 ` Andrey Repin
  2022-06-29 14:18   ` Norton Allen
  0 siblings, 1 reply; 8+ messages in thread
From: Andrey Repin @ 2022-06-29 12:39 UTC (permalink / raw)
  To: Norton Allen, cygwin

Greetings, Norton Allen!

> On one machine I have, chmod g+s fails to set the sticky bit. The command
> does not return any error, but ls -l continues to show the bit not set.

>     $ mkdir foo
>     $ chgrp flight foo
>     $ chmod g+ws foo
>     $ ls -ld foo
>     drwxrwxr-x+ 1 nort flight 0 Jun 29 06:50 foo
----------------^

$ getfacl foo

> I ran strace, and it looks like the correct system call parameter is getting passed.

> I am curious as to how the sticky bit is implemented.

First see if it was set or not.

> It isn't obvious what underlying Windows functionality (if any) is applied.

It does. But the big question is, where do you try to do that.
If this is inside Cygwin installation root, then things could work more or
less POSIX'y. If this is outside Cygwin root (f.e. in your system profile), it
may or may not work completely, depends how did you mount /cygdrive prefix.

> Ah, just checked on a system where this works, and creating a file in the
> directory from the
> command shell does not set the group, so presumably this functionality is
> all within cygwin. That works for my application, except when it doesn't.

> Any suggestions on what I should look for?

Look if you could avoid using +s. Isn't DACL enough?


-- 
With best regards,
Andrey Repin
Wednesday, June 29, 2022 15:36:50

Sorry for my terrible english...


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: chmod g+s ineffective
  2022-06-29 12:39 ` Andrey Repin
@ 2022-06-29 14:18   ` Norton Allen
  2022-06-29 17:51     ` Norton Allen
  0 siblings, 1 reply; 8+ messages in thread
From: Norton Allen @ 2022-06-29 14:18 UTC (permalink / raw)
  To: cygwin

On 6/29/2022 7:39 AM, Andrey Repin wrote:
> Greetings, Norton Allen!
>
>> On one machine I have, chmod g+s fails to set the sticky bit. The command
>> does not return any error, but ls -l continues to show the bit not set.
>>      $ mkdir foo
>>      $ chgrp flight foo
>>      $ chmod g+ws foo
>>      $ ls -ld foo
>>      drwxrwxr-x+ 1 nort flight 0 Jun 29 06:50 foo
> ----------------^
>
> $ getfacl foo

I will collect this shortly, but IIRC, getfacl showed it was not set. I 
did see it set there under 'flags' on the system that works.


>
>> I ran strace, and it looks like the correct system call parameter is getting passed.
>> I am curious as to how the sticky bit is implemented.
> First see if it was set or not.
>
>> It isn't obvious what underlying Windows functionality (if any) is applied.
> It does. But the big question is, where do you try to do that.
> If this is inside Cygwin installation root, then things could work more or
> less POSIX'y. If this is outside Cygwin root (f.e. in your system profile), it
> may or may not work completely, depends how did you mount /cygdrive prefix.

I will confirm (shortly), but I'm pretty sure these tests were done 
under vanilla /home (so c:\cygwin64\home)


>
>> Ah, just checked on a system where this works, and creating a file in the
>> directory from the
>> command shell does not set the group, so presumably this functionality is
>> all within cygwin. That works for my application, except when it doesn't.
>> Any suggestions on what I should look for?
> Look if you could avoid using +s. Isn't DACL enough?

Am I correct that DACL is not available unless I am on a domain? This is 
for a field computer, so connection to a domain is generally more 
problematic than helpful.


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: chmod g+s ineffective
  2022-06-29 14:18   ` Norton Allen
@ 2022-06-29 17:51     ` Norton Allen
  2022-06-30 23:56       ` Andrey Repin
  0 siblings, 1 reply; 8+ messages in thread
From: Norton Allen @ 2022-06-29 17:51 UTC (permalink / raw)
  To: cygwin

On 6/29/2022 9:18 AM, Norton Allen wrote:
> On 6/29/2022 7:39 AM, Andrey Repin wrote:
>> Greetings, Norton Allen!
>>
>>> On one machine I have, chmod g+s fails to set the sticky bit. The 
>>> command
>>> does not return any error, but ls -l continues to show the bit not set.
>>>      $ mkdir foo
>>>      $ chgrp flight foo
>>>      $ chmod g+ws foo
>>>      $ ls -ld foo
>>>      drwxrwxr-x+ 1 nort flight 0 Jun 29 06:50 foo
>> ----------------^
>>
>> $ getfacl foo
>
> I will collect this shortly, but IIRC, getfacl showed it was not set. 
> I did see it set there under 'flags' on the system that works.

    nort@EAS-SOFTWAREE1B ~
    $ ls -ld foo
    drwxrwxr-x 1 nort flight 0 Jun 29 06:25 foo

    nort@EAS-SOFTWAREE1B ~
    $ chmod g+s foo

    nort@EAS-SOFTWAREE1B ~
    $ ls -ld foo
    drwxrwxr-x 1 nort flight 0 Jun 29 06:25 foo

    nort@EAS-SOFTWAREE1B ~
    $ getfacl foo
    # file: foo
    # owner: nort
    # group: flight
    user::rwx
    group::rwx
    other::r-x


>
>
>>
>>> I ran strace, and it looks like the correct system call parameter is 
>>> getting passed.
>>> I am curious as to how the sticky bit is implemented.
>> First see if it was set or not.
>>
>>> It isn't obvious what underlying Windows functionality (if any) is 
>>> applied.
>> It does. But the big question is, where do you try to do that.
>> If this is inside Cygwin installation root, then things could work 
>> more or
>> less POSIX'y. If this is outside Cygwin root (f.e. in your system 
>> profile), it
>> may or may not work completely, depends how did you mount /cygdrive 
>> prefix.
>
> I will confirm (shortly), but I'm pretty sure these tests were done 
> under vanilla /home (so c:\cygwin64\home)


Confirmed (as shown above). Tested in /home/nort on directory /home/nort/foo


>
>
>>
>>> Ah, just checked on a system where this works, and creating a file 
>>> in the
>>> directory from the
>>> command shell does not set the group, so presumably this 
>>> functionality is
>>> all within cygwin. That works for my application, except when it 
>>> doesn't.
>>> Any suggestions on what I should look for?
>> Look if you could avoid using +s. Isn't DACL enough?
>
> Am I correct that DACL is not available unless I am on a domain? This 
> is for a field computer, so connection to a domain is generally more 
> problematic than helpful.
>

So is this implemented using DACL under the hood? And is that expected 
to fail without a domain?


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: chmod g+s ineffective
  2022-06-29 17:51     ` Norton Allen
@ 2022-06-30 23:56       ` Andrey Repin
  2022-07-11  2:17         ` Chris Wagner
  0 siblings, 1 reply; 8+ messages in thread
From: Andrey Repin @ 2022-06-30 23:56 UTC (permalink / raw)
  To: Norton Allen, cygwin

Greetings, Norton Allen!

> On 6/29/2022 9:18 AM, Norton Allen wrote:
>> On 6/29/2022 7:39 AM, Andrey Repin wrote:
>>> Greetings, Norton Allen!
>>>
>>>> On one machine I have, chmod g+s fails to set the sticky bit. The >>> command
>>>> does not return any error, but ls -l continues to show the bit not set.
>>>>      $ mkdir foo
>>>>      $ chgrp flight foo
>>>>      $ chmod g+ws foo
>>>>      $ ls -ld foo
>>>>      drwxrwxr-x+ 1 nort flight 0 Jun 29 06:50 foo
>>> ----------------^
>>>
>>> $ getfacl foo
>>
>> I will collect this shortly, but IIRC, getfacl showed it was not set. > I did see it set there under 'flags' on the system that works.

>     nort@EAS-SOFTWAREE1B ~
>     $ ls -ld foo
>     drwxrwxr-x 1 nort flight 0 Jun 29 06:25 foo

>     nort@EAS-SOFTWAREE1B ~
>     $ chmod g+s foo

>     nort@EAS-SOFTWAREE1B ~
>     $ ls -ld foo
>     drwxrwxr-x 1 nort flight 0 Jun 29 06:25 foo

>     nort@EAS-SOFTWAREE1B ~
>     $ getfacl foo
>     # file: foo
>     # owner: nort
>     # group: flight
>     user::rwx
>     group::rwx
>     other::r-x


>>
>>
>>>
>>>> I ran strace, and it looks like the correct system call parameter is >>> getting passed.
>>>> I am curious as to how the sticky bit is implemented.
>>> First see if it was set or not.
>>>
>>>> It isn't obvious what underlying Windows functionality (if any) is >>> applied.
>>> It does. But the big question is, where do you try to do that.
>>> If this is inside Cygwin installation root, then things could work >> more or
>>> less POSIX'y. If this is outside Cygwin root (f.e. in your system >> profile), it
>>> may or may not work completely, depends how did you mount /cygdrive >> prefix.
>>
>> I will confirm (shortly), but I'm pretty sure these tests were done > under vanilla /home (so c:\cygwin64\home)


> Confirmed (as shown above). Tested in /home/nort on directory /home/nort/foo


>>
>>
>>>
>>>> Ah, just checked on a system where this works, and creating a file >>> in the
>>>> directory from the
>>>> command shell does not set the group, so presumably this >>> functionality is
>>>> all within cygwin. That works for my application, except when it >>> doesn't.
>>>> Any suggestions on what I should look for?
>>> Look if you could avoid using +s. Isn't DACL enough?
>>
>> Am I correct that DACL is not available unless I am on a domain? This > is for a field computer, so connection to a domain is generally more > problematic than helpful.
>>

> So is this implemented using DACL under the hood? And is that expected to fail without a domain?

DACL  means "default ACL" or "directory ACL" (which is essentially the same
and meaning ACL's which will be applied to newly created child objects),
as in `setfacl -m 'd:g:flight:rwx,d:m::rwx' dir [...]`.


-- 
With best regards,
Andrey Repin
Friday, July 1, 2022 02:50:30

Sorry for my terrible english...

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: chmod g+s ineffective
  2022-06-30 23:56       ` Andrey Repin
@ 2022-07-11  2:17         ` Chris Wagner
  2022-07-11  2:33           ` Eliot Moss
  0 siblings, 1 reply; 8+ messages in thread
From: Chris Wagner @ 2022-07-11  2:17 UTC (permalink / raw)
  To: cygwin

>> On 6/29/2022 9:18 AM, Norton Allen wrote:
>>>>> On one machine I have, chmod g+s fails to set the sticky bit. The 
>>>>> >>> command
>>>>> does not return any error, but ls -l continues to show the bit not 
>>>>> set.
>>>>>      $ mkdir foo
>>>>>      $ chgrp flight foo
>>>>>      $ chmod g+ws foo
>>>>>      $ ls -ld foo
>>>>>      drwxrwxr-x+ 1 nort flight 0 Jun 29 06:50 foo

Hi.  The permission bits are implemented as normal Window's DACLs 
(Discretionary Access List).  +s is implemented magically with the NULL 
SID.  You can view it from Explorer or with icacls.  Try checking the 
return code (echo $?) from chmod.  Also try changing perms from 
Explorer.  You might not be able to set the NULL SID for some reason.

It works for me:
$ ls -ld z
drwxrwsr-x+ 1 wagnerc Users 0 Nov 24  2020 z

$ getfacl z
# file: z
# owner: wagnerc
# group: Users
# flags: -s-
user::rwx
group::r-x
group:Administrators:rwx
group:Users:rwx
mask::rwx
other::r-x
default:user::rwx
default:user:wagnerc:rwx
default:group::r-x
default:group:Administrators:rwx
default:group:Users:rwx
default:mask::rwx
default:other::r-x


$ icacls z
z NULL SID:(DENY)(Rc,S,WD,REA,WEA,X,DC)
   APPLEJACK\wagnerc:(F)
   BUILTIN\Users:(RX)
   BUILTIN\Administrators:(RX,W,DC)
   BUILTIN\Users:(RX,W,DC)
   Everyone:(RX)
   NULL SID:(OI)(CI)(IO)(DENY)(Rc,S,WD,REA,WEA,X,DC)
   CREATOR OWNER:(OI)(CI)(IO)(F)
   APPLEJACK\wagnerc:(OI)(CI)(IO)(RX,W,DC)
   BUILTIN\Users:(OI)(CI)(IO)(RX)
   BUILTIN\Administrators:(OI)(CI)(IO)(RX,W,DC)
   BUILTIN\Users:(OI)(CI)(IO)(RX,W,DC)
   Everyone:(OI)(CI)(IO)(RX)

Successfully processed 1 files; Failed processing 0 files

$ uname -a
CYGWIN_NT-6.1 applejack 3.1.0(0.340/5/3) 2019-11-19 13:58 x86_64 Cygwin



Thanks.

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: chmod g+s ineffective
  2022-07-11  2:17         ` Chris Wagner
@ 2022-07-11  2:33           ` Eliot Moss
  2022-07-11 16:49             ` Norton Allen
  0 siblings, 1 reply; 8+ messages in thread
From: Eliot Moss @ 2022-07-11  2:33 UTC (permalink / raw)
  To: Chris Wagner, cygwin

On 7/10/2022 10:17 PM, Chris Wagner wrote:
>>> On 6/29/2022 9:18 AM, Norton Allen wrote:
>>>>>> On one machine I have, chmod g+s fails to set the sticky bit. The >>> command
>>>>>> does not return any error, but ls -l continues to show the bit not set.
>>>>>>      $ mkdir foo
>>>>>>      $ chgrp flight foo
>>>>>>      $ chmod g+ws foo
>>>>>>      $ ls -ld foo
>>>>>>      drwxrwxr-x+ 1 nort flight 0 Jun 29 06:50 foo
> 
> Hi.  The permission bits are implemented as normal Window's DACLs (Discretionary Access List).  +s 
> is implemented magically with the NULL SID.  You can view it from Explorer or with icacls.  Try 
> checking the return code (echo $?) from chmod.  Also try changing perms from Explorer.  You might 
> not be able to set the NULL SID for some reason.

I'd like to add that, for good reason, the Cygwin DACLs do not conform
to the order of entries that some Windows tools prefer.  Don't let any
Windows program/tool reorder the DACLs!  It will break the Cygwin
functionality, and the Cygwin order does not break Windows functionality.

Best - Eliot Moss

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: chmod g+s ineffective
  2022-07-11  2:33           ` Eliot Moss
@ 2022-07-11 16:49             ` Norton Allen
  0 siblings, 0 replies; 8+ messages in thread
From: Norton Allen @ 2022-07-11 16:49 UTC (permalink / raw)
  To: moss, Chris Wagner, cygwin

On 7/10/2022 10:33 PM, Eliot Moss wrote:
> On 7/10/2022 10:17 PM, Chris Wagner wrote:
>>>> On 6/29/2022 9:18 AM, Norton Allen wrote:
>>>>>>> On one machine I have, chmod g+s fails to set the sticky bit. 
>>>>>>> The >>> command
>>>>>>> does not return any error, but ls -l continues to show the bit 
>>>>>>> not set.
>>>>>>>      $ mkdir foo
>>>>>>>      $ chgrp flight foo
>>>>>>>      $ chmod g+ws foo
>>>>>>>      $ ls -ld foo
>>>>>>>      drwxrwxr-x+ 1 nort flight 0 Jun 29 06:50 foo
>>
>> Hi.  The permission bits are implemented as normal Window's DACLs 
>> (Discretionary Access List).  +s is implemented magically with the 
>> NULL SID.  You can view it from Explorer or with icacls.  Try 
>> checking the return code (echo $?) from chmod. Also try changing 
>> perms from Explorer.  You might not be able to set the NULL SID for 
>> some reason.
>
> I'd like to add that, for good reason, the Cygwin DACLs do not conform
> to the order of entries that some Windows tools prefer.  Don't let any
> Windows program/tool reorder the DACLs!  It will break the Cygwin
> functionality, and the Cygwin order does not break Windows functionality.
>
Right. My experience (Windows 10) is that I cannot change perms from 
Explorer if I don't let them reorder the perms (which I do not).

I have been separated from the machine that exhibits the problem, so I 
have not been able to try the solutions suggested, but expect to have it 
back in a week or so.



^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2022-07-11 16:49 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-29 12:12 chmod g+s ineffective Norton Allen
2022-06-29 12:39 ` Andrey Repin
2022-06-29 14:18   ` Norton Allen
2022-06-29 17:51     ` Norton Allen
2022-06-30 23:56       ` Andrey Repin
2022-07-11  2:17         ` Chris Wagner
2022-07-11  2:33           ` Eliot Moss
2022-07-11 16:49             ` Norton Allen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).