public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Re: SMBFS mount's file cannot be made executable
@ 2019-08-15  1:40 Lavrentiev, Anton (NIH/NLM/NCBI) [C] via cygwin
  2019-08-15  2:59 ` Brian Inglis
  0 siblings, 1 reply; 24+ messages in thread
From: Lavrentiev, Anton (NIH/NLM/NCBI) [C] via cygwin @ 2019-08-15  1:40 UTC (permalink / raw)
  To: 'cygwin@cygwin.com'

> You can often figure permissions problems

I already figured where the problem was, in how cygwin convers (or, actually doesn't) the UNIX's "x" bit into
the native DAC for the underlying filesystem (to store as, again, "x" in the Linux share).  Missing that DAC, SMBD
returns "Access denied" for an attempt to execute the .exe file.

I don't think that any of the requested output is of any help or indication, rather than to actually show that the
execute permission is missing.

$ /usr/lib/csih/getVolInfo /cygdrive/z
Device Type        : 7
Characteristics    : 10
Volume Name        : <home>
Serial Number      : 3112497429
Max Filenamelength : 255
Filesystemname     : <NTFS>
Flags              : 1006f
  FILE_CASE_SENSITIVE_SEARCH  : TRUE
  FILE_CASE_PRESERVED_NAMES   : TRUE
  FILE_UNICODE_ON_DISK        : TRUE
  FILE_PERSISTENT_ACLS        : TRUE
  FILE_FILE_COMPRESSION       : FALSE
  FILE_VOLUME_QUOTAS          : TRUE
  FILE_SUPPORTS_SPARSE_FILES  : TRUE
  FILE_SUPPORTS_REPARSE_POINTS: FALSE
  FILE_SUPPORTS_REMOTE_STORAGE: FALSE
  FILE_VOLUME_IS_COMPRESSED   : FALSE
  FILE_SUPPORTS_OBJECT_IDS    : TRUE
  FILE_SUPPORTS_ENCRYPTION    : FALSE
  FILE_NAMED_STREAMS          : FALSE
  FILE_READ_ONLY_VOLUME       : FALSE
  FILE_SEQUENTIAL_WRITE_ONCE  : FALSE
  FILE_SUPPORTS_TRANSACTIONS  : FALSE

$ pwd
/cygdrive/z

$ gcc hello.c

$ /usr/lib/csih/getVolInfo /cygdrive/z/a.exe
Device Type        : 7
Characteristics    : 10
Volume Name        : <home>
Serial Number      : 3112497429
Max Filenamelength : 255
Filesystemname     : <NTFS>
Flags              : 1006f
  FILE_CASE_SENSITIVE_SEARCH  : TRUE
  FILE_CASE_PRESERVED_NAMES   : TRUE
  FILE_UNICODE_ON_DISK        : TRUE
  FILE_PERSISTENT_ACLS        : TRUE
  FILE_FILE_COMPRESSION       : FALSE
  FILE_VOLUME_QUOTAS          : TRUE
  FILE_SUPPORTS_SPARSE_FILES  : TRUE
  FILE_SUPPORTS_REPARSE_POINTS: FALSE
  FILE_SUPPORTS_REMOTE_STORAGE: FALSE
  FILE_VOLUME_IS_COMPRESSED   : FALSE
  FILE_SUPPORTS_OBJECT_IDS    : TRUE
  FILE_SUPPORTS_ENCRYPTION    : FALSE
  FILE_NAMED_STREAMS          : FALSE
  FILE_READ_ONLY_VOLUME       : FALSE
  FILE_SEQUENTIAL_WRITE_ONCE  : FALSE
  FILE_SUPPORTS_TRANSACTIONS  : FALSE

$ ls -dl /cygdrive/z/a.exe
-rw-rw-r--+ 1 lavr cppcore 157753 Aug 14 21:30 /cygdrive/z/a.exe

$ getfacl /cygdrive/z/a.exe
# file: /cygdrive/z/a.exe
# owner: lavr
# group: cppcore
user::rw-
user:lavr:rw-
group::r--
group:cppcore:r--
mask::rw-
other::r--

$ icacls `cygpath -w /cygdrive/z/a.exe`
Z:\a.exe S-1-22-1-4640:(R,W)
         S-1-22-2-5333:(R)
         S-1-22-2-5333:(R)
         S-1-22-1-4640:(R,W)
         Everyone:(R)

Successfully processed 1 files; Failed processing 0 files


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

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

* Re: SMBFS mount's file cannot be made executable
  2019-08-15  1:40 SMBFS mount's file cannot be made executable Lavrentiev, Anton (NIH/NLM/NCBI) [C] via cygwin
@ 2019-08-15  2:59 ` Brian Inglis
  0 siblings, 0 replies; 24+ messages in thread
From: Brian Inglis @ 2019-08-15  2:59 UTC (permalink / raw)
  To: cygwin

On 2019-08-14 19:40, Lavrentiev, Anton (NIH/NLM/NCBI) [C] via cygwin wrote:
>> You can often figure permissions problems

> I already figured where the problem was, in how cygwin convers (or, actually 
> doesn't) the UNIX's "x" bit into the native DAC for the underlying filesystem
> (to store as, again, "x" in the Linux share). 
> Missing that DACL, SMBD returns "Access denied" for an attempt to execute the
> .exe file.>
> I don't think that any of the requested output is of any help or indication, 
> rather than to actually show that the execute permission is missing.
> 
> $ /usr/lib/csih/getVolInfo /cygdrive/z
> Device Type        : 7
> Characteristics    : 10
> Volume Name        : <home>
> Serial Number      : 3112497429
> Max Filenamelength : 255
> Filesystemname     : <NTFS>
> Flags              : 1006f
>   FILE_CASE_SENSITIVE_SEARCH  : TRUE
>   FILE_CASE_PRESERVED_NAMES   : TRUE
>   FILE_UNICODE_ON_DISK        : TRUE
>   FILE_PERSISTENT_ACLS        : TRUE
>   FILE_FILE_COMPRESSION       : FALSE
>   FILE_VOLUME_QUOTAS          : TRUE
>   FILE_SUPPORTS_SPARSE_FILES  : TRUE
>   FILE_SUPPORTS_REPARSE_POINTS: FALSE
>   FILE_SUPPORTS_REMOTE_STORAGE: FALSE
>   FILE_VOLUME_IS_COMPRESSED   : FALSE
>   FILE_SUPPORTS_OBJECT_IDS    : TRUE
>   FILE_SUPPORTS_ENCRYPTION    : FALSE
>   FILE_NAMED_STREAMS          : FALSE
>   FILE_READ_ONLY_VOLUME       : FALSE
>   FILE_SEQUENTIAL_WRITE_ONCE  : FALSE
>   FILE_SUPPORTS_TRANSACTIONS  : FALSE
> 
> $ pwd
> /cygdrive/z
> 
> $ gcc hello.c
> 
> $ /usr/lib/csih/getVolInfo /cygdrive/z/a.exe
> Device Type        : 7
> Characteristics    : 10
> Volume Name        : <home>
> Serial Number      : 3112497429
> Max Filenamelength : 255
> Filesystemname     : <NTFS>
> Flags              : 1006f
>   FILE_CASE_SENSITIVE_SEARCH  : TRUE
>   FILE_CASE_PRESERVED_NAMES   : TRUE
>   FILE_UNICODE_ON_DISK        : TRUE
>   FILE_PERSISTENT_ACLS        : TRUE
>   FILE_FILE_COMPRESSION       : FALSE
>   FILE_VOLUME_QUOTAS          : TRUE
>   FILE_SUPPORTS_SPARSE_FILES  : TRUE
>   FILE_SUPPORTS_REPARSE_POINTS: FALSE
>   FILE_SUPPORTS_REMOTE_STORAGE: FALSE
>   FILE_VOLUME_IS_COMPRESSED   : FALSE
>   FILE_SUPPORTS_OBJECT_IDS    : TRUE
>   FILE_SUPPORTS_ENCRYPTION    : FALSE
>   FILE_NAMED_STREAMS          : FALSE
>   FILE_READ_ONLY_VOLUME       : FALSE
>   FILE_SEQUENTIAL_WRITE_ONCE  : FALSE
>   FILE_SUPPORTS_TRANSACTIONS  : FALSE
> 
> $ ls -dl /cygdrive/z/a.exe
> -rw-rw-r--+ 1 lavr cppcore 157753 Aug 14 21:30 /cygdrive/z/a.exe
> 
> $ getfacl /cygdrive/z/a.exe
> # file: /cygdrive/z/a.exe
> # owner: lavr
> # group: cppcore
> user::rw-
> user:lavr:rw-
> group::r--
> group:cppcore:r--
> mask::rw-
> other::r--
> 
> $ icacls `cygpath -w /cygdrive/z/a.exe`
> Z:\a.exe S-1-22-1-4640:(R,W)
>          S-1-22-2-5333:(R)
>          S-1-22-2-5333:(R)
>          S-1-22-1-4640:(R,W)
>          Everyone:(R)
> 
> Successfully processed 1 files; Failed processing 0 files

Prerequisite for +x is DACL and masks allowing +x on normal file system
directories and executables, as Cyggwin is emulating POSIX D/ACLs using Windows
D/ACLs:

drwxrwxr-x+ 1 SYSTEM SYSTEM 0 Aug 14 18:40 .

# file: .
# owner: SYSTEM
# group: SYSTEM
user::rwx
user:$USER:rwx
group::r-x
group:Administrators:rwx
group:$GROUP:r-x
mask::rwx
other::r-x
default:user::rwx
default:user:$USER:rwx
default:group::---
default:group:Administrators:rwx
default:mask::rwx
default:other::r-x

. NULL SID:(DENY)(Rc,S,REA,WEA,X,DC)
  NT AUTHORITY\SYSTEM:(F)
  $HOSTNAME\$USER:(RX,W,DC)
  NT AUTHORITY\SYSTEM:(RX)
  BUILTIN\Administrators:(RX,W,DC)
  BUILTIN\$GROUP:(RX)
  Everyone:(RX)
  NULL SID:(OI)(CI)(IO)(DENY)(Rc,S,REA,WEA,X,DC)
  CREATOR OWNER:(OI)(CI)(IO)(F)
  $HOSTNAME\$USER:(OI)(CI)(IO)(RX,W,DC)
  CREATOR GROUP:(OI)(CI)(IO)(Rc,S,RA)
  BUILTIN\Administrators:(OI)(CI)(IO)(RX,W,DC)
  CREATOR GROUP:(OI)(CI)(IO)(DENY)(S,RD,REA,X)
  Everyone:(OI)(CI)(IO)(RX)

Successfully processed 1 files; Failed processing 0 files

-rwxr-xr-x+ 1 $USER $GROUP 158443 Aug  3  2018 test.exe
# file: test.exe
# owner: $USER
# group: $GROUP
user::rwx
group::r-x
group:SYSTEM:rwx        #effective:r-x
group:Administrators:rwx        #effective:r-x
mask::r-x
other::r-x

test.exe NULL SID:(DENY)(Rc,S,REA,X,DC)
         $HOSTNAME\$USER:(F)
         BUILTIN\$GROUP:(RX)
         NT AUTHORITY\SYSTEM:(RX,W)
         BUILTIN\Administrators:(RX,W)
         Everyone:(RX)

Successfully processed 1 files; Failed processing 0 files

-- 
Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada

This email may be disturbing to some readers as it contains
too much technical detail. Reader discretion is advised.

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

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

* RE: SMBFS mount's file cannot be made executable
  2019-08-15  9:23 ` L A Walsh
@ 2019-08-21  7:12   ` Lavrentiev, Anton (NIH/NLM/NCBI) [C] via cygwin
  0 siblings, 0 replies; 24+ messages in thread
From: Lavrentiev, Anton (NIH/NLM/NCBI) [C] via cygwin @ 2019-08-21  7:12 UTC (permalink / raw)
  To: L A Walsh; +Cc: cygwin

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset="utf-8", Size: 842 bytes --]

Thanks for the hints!

> so...what's your umask?

It's 022.  As far as it's concerned, umask should only be considered when creating a new file, not to affect existing files' modes
(as with the chmod command).  At any rate, the "x" bit in mine is unset, so should not be having the issues what you've seen.

BTW, what's your Samba server's version?  Mine is below:

$ /usr/sbin/smbd -V
Version 4.7.1

Lastly, I mounted the drives via the explorer and they had been marked as "reconnect at login", so they re-mount for me
upon every login and/or after a reboot...  And there have been many of both.

\x03B‹KCB”\x1c›Ø›\x19[H\x1c™\^[ܝ\x1cΈ\b\b\b\b\b\b\x1a\x1d\x1d\x1c\x0e‹ËØÞYÝÚ[‹˜ÛÛKÜ\x1c›Ø›\x19[\Ëš\x1d^[[\x03B‘TNˆ\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\x1a\x1d\x1d\x1c\x0e‹ËØÞYÝÚ[‹˜ÛÛKÙ˜\KÃB‘^[ØÝ[Y[\x18]\x1a[ÛŽˆ\b\b\b\b\b\b\b\b\x1a\x1d\x1d\x1c\x0e‹ËØÞYÝÚ[‹˜ÛÛKÙ^[ØÜËš\x1d^[[\x03B•[œÝXœØÜšX™H\x1a[™›Îˆ\b\b\b\b\b\x1a\x1d\x1d\x1c\x0e‹ËØÞYÝÚ[‹˜ÛÛKÛ[\vÈÝ[œÝXœØÜšX™K\Ú[\^[\x19CBƒB

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

* Re: SMBFS mount's file cannot be made executable
  2019-08-15  2:00 Lavrentiev, Anton (NIH/NLM/NCBI) [C] via cygwin
  2019-08-15  9:21 ` L A Walsh
@ 2019-08-15  9:23 ` L A Walsh
  2019-08-21  7:12   ` Lavrentiev, Anton (NIH/NLM/NCBI) [C] via cygwin
  1 sibling, 1 reply; 24+ messages in thread
From: L A Walsh @ 2019-08-15  9:23 UTC (permalink / raw)
  To: lavr; +Cc: cygwin

On 2019/08/14 19:00, Lavrentiev, Anton (NIH/NLM/NCBI) [C] via cygwin wrote:
>> This is called by acl_to_any_text, which is called by getfacl.  Any 
>> chance you could try to debug this?
>>     
>
>   
>> I'm about to go on vacation, but I could try to help when I get back.
>>     
>
> I'm headed out of town as well.  But I get this very same EINVAL for any drive (/cygdrive/X)
> except for the local disk C: (the only local drive my PC has):
>
> $ mount
> ...
> S: on /cygdrive/s type netapp (binary,posix=0,user,noumount,auto)
> ...
> U: on /cygdrive/u type netapp (binary,posix=0,user,noumount,auto)
> ...
> Y: on /cygdrive/y type smbfs (binary,posix=0,user,noumount,auto)
>   
----
    BTW, how did you mount those? in explorer, or useing
net use?

    Another question -- what is your umask?

    I noticed some flakeyness with my execute perms as well
but more the opposite.  I tried turned execute "off". and only after
removing all acls, and renaming it to foo.txt could I get rid of execute.

my /etc/fstab shows:
# /etc/fstab
#
#    This file is read once by the first process in a Cygwin process tree.
#    To pick up changes, restart all Cygwin processes.  For a description
#    see https://cygwin.com/cygwin-ug-net/using.html#mount-table

# This is default anyway:
none / cygdrive binary,posix=0,user 0 0
and my mount output shows:
C:/bin on /usr/bin type ntfs (binary,auto)
C:/lib on /usr/lib type ntfs (binary,auto)
C: on / type ntfs (binary,auto)
B: on /b type smbfs (binary,user,noumount,auto)
D: on /d type smbfs (binary,user,noumount,auto)
F: on /f type iso9660 (binary,user,noumount,auto)
H: on /h type smbfs (binary,user,noumount,auto)
I: on /i type smbfs (binary,user,noumount,auto)
M: on /m type smbfs (binary,user,noumount,auto)
P: on /p type smbfs (binary,user,noumount,auto)
R: on /r type smbfs (binary,user,noumount,auto)
S: on /s type smbfs (binary,user,noumount,auto)
T: on /t type smbfs (binary,user,noumount,auto)

-------------------
/tmp> ll foo*
-r-xr-xr-x 1 34323 Feb  3  2017 foo.txt*
/tmp> chmod -x foo.txt
/tmp> ll foo.txt
-r--r--r-- 1 34323 Feb  3  2017 foo.txt
/tmp> cd /h #-- h is an exported samba drive from my server
/h> ll foo.txt
-r--r--r-- 1 34323 Feb  3  2017 foo.txt
/h> +x foo.txt
/h> ll foo.txt
-r-xr-xr-x 1 34323 Feb  3  2017 foo.txt*
---
And it does work (was originally a copy of 'cat.exe')
But notice this :
/h> chmod -x foo.txt
/h> umask 111
/h> ll foo.txt
-r--r--r-- 1 34323 Feb  3  2017 foo.txt
/h> chmod +x foo.txt
/h> ll foo.txt
-r--r--r-- 1 34323 Feb  3  2017 foo.txt


chmod didn't turn on execution flags because I had the execute bit
masked out in my umask.  I change my umask back to my norm:
/h> umask 002
/h> ll foo.txt
-r--r--r-- 1 34323 Feb  3  2017 foo.txt
/h> chmod +x foo.txt
/h> ll foo.txt
-r-xr-xr-x 1 34323 Feb  3  2017 foo.txt*

Now chmod +x works again.

so...what's your umask?




--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

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

* Re: SMBFS mount's file cannot be made executable
  2019-08-15  2:00 Lavrentiev, Anton (NIH/NLM/NCBI) [C] via cygwin
@ 2019-08-15  9:21 ` L A Walsh
  2019-08-15  9:23 ` L A Walsh
  1 sibling, 0 replies; 24+ messages in thread
From: L A Walsh @ 2019-08-15  9:21 UTC (permalink / raw)
  To: cygwin

On 2019/08/14 19:00, Lavrentiev, Anton (NIH/NLM/NCBI) [C] via cygwin wrote:
>> This is called by acl_to_any_text, which is called by getfacl.  Any 
>> chance you could try to debug this?
>>     
>
>   
>> I'm about to go on vacation, but I could try to help when I get back.
>>     
>
> I'm headed out of town as well.  But I get this very same EINVAL for any drive (/cygdrive/X)
> except for the local disk C: (the only local drive my PC has):
>
> $ mount
> ...
> S: on /cygdrive/s type netapp (binary,posix=0,user,noumount,auto)
> ...
> U: on /cygdrive/u type netapp (binary,posix=0,user,noumount,auto)
> ...
> Y: on /cygdrive/y type smbfs (binary,posix=0,user,noumount,auto)
>   
----
    BTW, how did you mount those? in explorer, or useing
net use?

    Another question -- what is your umask?

    I noticed some flakeyness with my execute perms as well
but more the opposite.  I tried turned execute "off". and only after
removing all acls, and renaming it to foo.txt could I get rid of execute.

my /etc/fstab shows:
# /etc/fstab
#
#    This file is read once by the first process in a Cygwin process tree.
#    To pick up changes, restart all Cygwin processes.  For a description
#    see https://cygwin.com/cygwin-ug-net/using.html#mount-table

# This is default anyway:
none / cygdrive binary,posix=0,user 0 0
and my mount output shows:
C:/bin on /usr/bin type ntfs (binary,auto)
C:/lib on /usr/lib type ntfs (binary,auto)
C: on / type ntfs (binary,auto)
B: on /b type smbfs (binary,user,noumount,auto)
D: on /d type smbfs (binary,user,noumount,auto)
F: on /f type iso9660 (binary,user,noumount,auto)
H: on /h type smbfs (binary,user,noumount,auto)
I: on /i type smbfs (binary,user,noumount,auto)
M: on /m type smbfs (binary,user,noumount,auto)
P: on /p type smbfs (binary,user,noumount,auto)
R: on /r type smbfs (binary,user,noumount,auto)
S: on /s type smbfs (binary,user,noumount,auto)
T: on /t type smbfs (binary,user,noumount,auto)

-------------------
/tmp> ll foo*
-r-xr-xr-x 1 34323 Feb  3  2017 foo.txt*
/tmp> chmod -x foo.txt
/tmp> ll foo.txt
-r--r--r-- 1 34323 Feb  3  2017 foo.txt
/tmp> cd /h #-- h is an exported samba drive from my server
/h> ll foo.txt
-r--r--r-- 1 34323 Feb  3  2017 foo.txt
/h> +x foo.txt
/h> ll foo.txt
-r-xr-xr-x 1 34323 Feb  3  2017 foo.txt*
---
And it does work (was originally a copy of 'cat.exe')
But notice this :
/h> chmod -x foo.txt
/h> umask 111
/h> ll foo.txt
-r--r--r-- 1 34323 Feb  3  2017 foo.txt
/h> chmod +x foo.txt
/h> ll foo.txt
-r--r--r-- 1 34323 Feb  3  2017 foo.txt


chmod didn't turn on execution flags because I had the execute bit
masked out in my umask.  I change my umask back to my norm:
/h> umask 002
/h> ll foo.txt
-r--r--r-- 1 34323 Feb  3  2017 foo.txt
/h> chmod +x foo.txt
/h> ll foo.txt
-r-xr-xr-x 1 34323 Feb  3  2017 foo.txt*

Now chmod +x works again.

so...what's your umask?



--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

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

* Re: SMBFS mount's file cannot be made executable
@ 2019-08-15  2:00 Lavrentiev, Anton (NIH/NLM/NCBI) [C] via cygwin
  2019-08-15  9:21 ` L A Walsh
  2019-08-15  9:23 ` L A Walsh
  0 siblings, 2 replies; 24+ messages in thread
From: Lavrentiev, Anton (NIH/NLM/NCBI) [C] via cygwin @ 2019-08-15  2:00 UTC (permalink / raw)
  To: 'cygwin@cygwin.com'

> This is called by acl_to_any_text, which is called by getfacl.  Any 
> chance you could try to debug this?

> I'm about to go on vacation, but I could try to help when I get back.

I'm headed out of town as well.  But I get this very same EINVAL for any drive (/cygdrive/X)
except for the local disk C: (the only local drive my PC has):

$ mount
...
S: on /cygdrive/s type netapp (binary,posix=0,user,noumount,auto)
...
U: on /cygdrive/u type netapp (binary,posix=0,user,noumount,auto)
...
Y: on /cygdrive/y type smbfs (binary,posix=0,user,noumount,auto)
...

$ getfacl /cygdrive/u
# file: /cygdrive/u
# owner: Unknown+User
# group: Unknown+Group
user::rwx
user:lavr:rwx
group::r-x
mask::rwx
other::---
getfacl: /cygdrive/u: Invalid argument

$ getfacl /cygdrive/s
# file: /cygdrive/s
# owner: Unknown+User
# group: Unknown+Group
user::rwx
user:lavr:rwx
group::rwx
mask::rwx
other::---
getfacl: /cygdrive/s: Invalid argument

Everything works fine for the drives U: & S: w.r.t execution.

$ getfacl /cygdrive/y
# file: /cygdrive/y
# owner: lavr
# group: cppcore
user::rwx
group::r-x
other::r-x
getfacl: /cygdrive/y: Invalid argument

Drive "Y:" is a share from Linux that has special ACL flags set (I explained in previous posts):

acl allow execute always = True

making "everything" executable there.


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

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

* Re: SMBFS mount's file cannot be made executable
  2019-08-14 20:39 Lavrentiev, Anton (NIH/NLM/NCBI) [C] via cygwin
@ 2019-08-15  1:31 ` Ken Brown
  0 siblings, 0 replies; 24+ messages in thread
From: Ken Brown @ 2019-08-15  1:31 UTC (permalink / raw)
  To: cygwin

On 8/14/2019 4:39 PM, Lavrentiev, Anton (NIH/NLM/NCBI) [C] via cygwin wrote:
> I also showed the "getfacl" output for that file and the directory above, which showed
> nothing additional.

getfacl failed with EINVAL, as you know.  So you can't rely on its output.

Ken

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


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

* Re: SMBFS mount's file cannot be made executable
  2019-08-14 14:07 Lavrentiev, Anton (NIH/NLM/NCBI) [C] via cygwin
@ 2019-08-15  1:28 ` Ken Brown
  0 siblings, 0 replies; 24+ messages in thread
From: Ken Brown @ 2019-08-15  1:28 UTC (permalink / raw)
  To: cygwin

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset="utf-8", Size: 917 bytes --]

On 8/14/2019 10:07 AM, Lavrentiev, Anton (NIH/NLM/NCBI) [C] via cygwin 
wrote:
>    249   98510 [main] getfacl 3412 __set_errno: char* __acltotext(aclent_t*, int, const char*, char, int):1644 setting errno 22

Here's where the EINVAL is coming from.  The source is in sec_acl.cc:

char *
__acltotext (...)
{
   if (!aclbufp || aclcnt < 0 || aclcnt > MAX_ACL_ENTRIES
       || (aclcnt > 0 && aclsort32 (aclcnt, 0, aclbufp)))
     {
       set_errno (EINVAL);
       return NULL;
     }

This is called by acl_to_any_text, which is called by getfacl.  Any 
chance you could try to debug this?

I'm about to go on vacation, but I could try to help when I get back.

Ken
\x03B‹KCB”\x1c›Ø›\x19[H\x1c™\^[ܝ\x1cΈ\b\b\b\b\b\b\x1a\x1d\x1d\x1c\x0e‹ËØÞYÝÚ[‹˜ÛÛKÜ\x1c›Ø›\x19[\Ëš\x1d^[[\x03B‘TNˆ\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\x1a\x1d\x1d\x1c\x0e‹ËØÞYÝÚ[‹˜ÛÛKÙ˜\KÃB‘^[ØÝ[Y[\x18]\x1a[ÛŽˆ\b\b\b\b\b\b\b\b\x1a\x1d\x1d\x1c\x0e‹ËØÞYÝÚ[‹˜ÛÛKÙ^[ØÜËš\x1d^[[\x03B•[œÝXœØÜšX™H\x1a[™›Îˆ\b\b\b\b\b\x1a\x1d\x1d\x1c\x0e‹ËØÞYÝÚ[‹˜ÛÛKÛ[\vÈÝ[œÝXœØÜšX™K\Ú[\^[\x19CBƒB

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

* Re: SMBFS mount's file cannot be made executable
  2019-08-14 11:22 ` Ken Brown
@ 2019-08-14 22:58   ` Brian Inglis
  0 siblings, 0 replies; 24+ messages in thread
From: Brian Inglis @ 2019-08-14 22:58 UTC (permalink / raw)
  To: cygwin

On 2019-08-14 05:22, Ken Brown wrote:
> On 8/14/2019 12:23 AM, Lavrentiev, Anton (NIH/NLM/NCBI) [C] via cygwin wrote:
>>> Have you checked the default ACL on the directory containing the file?
>>
>> No, and there's nothing special there now that I checked.  I can change the
>> "Read & Execute" for the .exe file from the Windows file properties without
>> having to deal with anything special or additional (like inherited 
>> permissions), so I don't think the containing directory has anything to do
>> with it.>
> I suspect the containing directory has a lot to do with it.  You shouldn't
> get an "Invalid argument" error below.
> 
>> $ getfacl /cygdrive/z
>> # file: /cygdrive/z
>> # owner: lavr
>> # group: cppcore
>> user::rwx
>> group::r-x
>> other::r-x
>> getfacl: /cygdrive/z: Invalid argument
> 
> Running getfacl under strace might provide a clue as to what the problem is. 
> You could also try running /usr/lib/csih/getVolInfo.exe on that directory.

Running getVolInfo shows you supported operations and options:

$ /usr/lib/csih/getVolInfo "$exe"
Device Type        : 7
Characteristics    : 20020
Volume Name        : <VOLUMENAME>
Serial Number      : 112776248
Max Filenamelength : 255
Filesystemname     : <NTFS>
Flags              : 3e706ff
  FILE_CASE_SENSITIVE_SEARCH  : TRUE
  FILE_CASE_PRESERVED_NAMES   : TRUE
  FILE_UNICODE_ON_DISK        : TRUE
  FILE_PERSISTENT_ACLS        : TRUE
  FILE_FILE_COMPRESSION       : TRUE
  FILE_VOLUME_QUOTAS          : TRUE
  FILE_SUPPORTS_SPARSE_FILES  : TRUE
  FILE_SUPPORTS_REPARSE_POINTS: TRUE
  FILE_SUPPORTS_REMOTE_STORAGE: FALSE
  FILE_VOLUME_IS_COMPRESSED   : FALSE
  FILE_SUPPORTS_OBJECT_IDS    : TRUE
  FILE_SUPPORTS_ENCRYPTION    : TRUE
  FILE_NAMED_STREAMS          : TRUE
  FILE_READ_ONLY_VOLUME       : FALSE
  FILE_SEQUENTIAL_WRITE_ONCE  : FALSE
  FILE_SUPPORTS_TRANSACTIONS  : TRUE

You can often figure permissions problems out yourself by looking at the outputs
from:

	$ ls --color=auto -dl "$exe"
	$ getfacl "$exe"
	$ icacls "$(cygpath -m ""$exe"")"

and correlating the info, perhaps also with the same commands executed on the
containing directory.

If you post those output from your system, other may be able to help you.

To first approximations: all file access problems are permissions problems; and
all programming problems are application programmer array access problems. ;^>
You have to first totally eliminate all possibilities of those, before you
should bother looking at other prossible causes.

-- 
Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada

This email may be disturbing to some readers as it contains
too much technical detail. Reader discretion is advised.

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

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

* Re: SMBFS mount's file cannot be made executable
@ 2019-08-14 20:39 Lavrentiev, Anton (NIH/NLM/NCBI) [C] via cygwin
  2019-08-15  1:31 ` Ken Brown
  0 siblings, 1 reply; 24+ messages in thread
From: Lavrentiev, Anton (NIH/NLM/NCBI) [C] via cygwin @ 2019-08-14 20:39 UTC (permalink / raw)
  To: 'cygwin@cygwin.com'

> See the '+' at the end of the modes?

I saw that, and I also showed the "getfacl" output for that file and the directory above, which showed
nothing additional.

> Maybe, but we'd still need to know how to get to the result you're seeing.

Just take a samba server (4.x) and mount a share with default settings on your Windows box; then
try to change the execute permissions for files in there from Cygwin's shell, using chmod -- the simplest.

> I hope it's clear to you that the permissions you see on this tab have
> nothing to do with the POSIX mode bits you're trying to set from Cygwin.

That is completely untrue;  the underlying filesystem is still controlled by the OS (Windows) in either case.
When the "x" permission is set from under Cygwin, it has to get converted (inside the Cygwin dll) to an appropriate
DAC for the native file system layer.  That DAC is then sent to the samba server (in case of the smb filesystem),
which then either converts it back to the "x" permission (when the SMBD is on Linux) or stores it on the target
filesystem, if that's a Windows box.

And it works the similar way in the reverse:  when a file stat is requested from Cygwin, the SMBD gets the "x" bit,
converts it to SMB response (native for Windows DAC for "execute") and sends it back to Windows box,
which is then read by Cygwin DLL and gets shown as "x" bit in the POSIX mode.  When I just use the file properties
dialog, I bypass only one step in the chains I just described, Cygwin DLL.  And it works by setting the "x" bit
on the server side (Linux).  So, that's how I know that something's off in how Cygwin treats that "x" permission
when asked to set it on a file.

When Windows is about to run an .exe file, it consults the filesystem whether the execute DAC is set.
In case of SMBD 4.x, the filesystem will respond "Access denied" if the "x" permission is not found.
It used to say "okay" in the previous versions.  I quoted the report:

https://forge.univention.org/bugzilla/show_bug.cgi?id=33785

So when I asked my Systems guys that the share to be exported with 

acl allow execute always = True

I can now execute any files (even those whose "x" bits are not set at all! -- SMBD clears everything to execute,
which is madness).  Well, that works around the issue for me, but the question remains as to why when "chmod +x" is given,
Cygwin does not cause the "x" permission to be set on the target file if that file resides on smbfs.
I suspect there are no provisions in code to do that, but I may be wrong.


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

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

* Re: SMBFS mount's file cannot be made executable
  2019-08-13 23:19       ` Lavrentiev, Anton (NIH/NLM/NCBI) [C] via cygwin
@ 2019-08-14 20:05         ` Andrey Repin
  0 siblings, 0 replies; 24+ messages in thread
From: Andrey Repin @ 2019-08-14 20:05 UTC (permalink / raw)
  To: Lavrentiev, Anton (NIH/NLM/NCBI) [C], cygwin

Greetings, Lavrentiev, Anton (NIH/NLM/NCBI) [C]!

>> What is your cygdrive mount options? Because default is, apparently, "binary,posix=0,user".

> I have no idea where they are kept at, and how to change them.

This is, as I said, the DEFAULT.
To change them, edit /etc/fstab, add the desired line.
F.e.

none /cygdrive cygdrive binary,posix=0,nouser 0 0

> Also, I couldn't make this work, anyways; yet I thought it should have worked:

>> > $ mount -o exec //coredev2/home/lavr /mnt
>> > $ mount
>> > //coredev2/home/lavr on /mnt type smbfs (binary,exec,user)
>> > ...
>> > $ cd /mnt
>> > $ pwd
>> > /mnt
>> > $ gcc a.c
>> > $ ls -l a.exe
>> > -rw-rw-r--+ 1 lavr cppcore 157753 Aug 13 08:20 a.exe
>> > $ ./a.exe
>> > -bash: ./a.exe: Permission denied


-- 
With best regards,
Andrey Repin
Wednesday, August 14, 2019 22:50:18

Sorry for my terrible english...


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

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

* Re: SMBFS mount's file cannot be made executable
  2019-08-14  0:53 Lavrentiev, Anton (NIH/NLM/NCBI) [C] via cygwin
  2019-08-14  2:36 ` Ken Brown
@ 2019-08-14 16:59 ` Achim Gratz
  1 sibling, 0 replies; 24+ messages in thread
From: Achim Gratz @ 2019-08-14 16:59 UTC (permalink / raw)
  To: cygwin

Lavrentiev, Anton (NIH/NLM/NCBI) [C] via cygwin writes:
>> If it's related to the ACL handling then it should start working when
>> you remove the ACL on the file with 'setfacl -kb ...'
>
> There are no special ACLs set on the file (that was just produced by
> GCC from the source code, see my first email).

You earlier showed this:

> $ ls -l a.exe
> -rw-rw-r--+ 1 lavr cppcore 157753 Aug 13 08:20 a.exe

See the '+' at the end of the modes?  That's telling you that there is
an ACL added to the file and the modes are the result of combining thje
actual mode bits with the ACL.  As you said, gcc won't add any ACL by
itself, so these ACL are the result of inheritable / default ACL.

> But I am now convinced that the problem is _entirely_ in Cygwin's corner:

Maybe, but we'd still need to know how to get to the result you're seeing.

> When I open that file's the "Properties->Security" Windows tab, I can
> see that my permissions are "Read" and "Write", yet "Read & Execute"
> is NOT checked.  When I check it, I see that the file becomes
> executable (the "x" bit) from both Cygwin shell and on the Linux side,
> too.  And after that, I can execute the file from the Cygwin shell.

I hope it's clear to you that the permissions you see on this tab have
nothing to do with the POSIX mode bits you're trying to set from Cygwin.

> So what happens is that when "chmod" (or "creat" with a permission
> mask) is called, Cygwin does not honor the "x" bit(s) and does not
> convert it to a corresponding proper ACL for the Windows mounted
> filesystem (and that ACL, in turn, would have been then sent to SMBD
> to get converted there back to the "x" bit in the Unix world).  Once
> the "x" is there, Windows(via SMBD) obviously allows execution of the
> image.  Here's a related "bug":

Most often that is the result of an inherited ACL mask that clears that
bit.  Correcting either the default ACL or removing it should then make
that problem go away.  Default ACL are associated with the parent
directory and you're unlikely to be able to change the parent directory
modes if it's the root of a file system exported from a filer.  Try
again in a subdirectory and clear the default ACL with 'setfacl -kb' on
that directory before you start doing anything there.


Regards,
Achim.
-- 
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+

Factory and User Sound Singles for Waldorf Blofeld:
http://Synth.Stromeko.net/Downloads.html#WaldorfSounds

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

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

* Re: SMBFS mount's file cannot be made executable
@ 2019-08-14 14:07 Lavrentiev, Anton (NIH/NLM/NCBI) [C] via cygwin
  2019-08-15  1:28 ` Ken Brown
  0 siblings, 1 reply; 24+ messages in thread
From: Lavrentiev, Anton (NIH/NLM/NCBI) [C] via cygwin @ 2019-08-14 14:07 UTC (permalink / raw)
  To: 'cygwin@cygwin.com'

> I suspect the containing directory has a lot to do with it.

Please elaborate what you ground your suspicion on.

Like I said previously, I can add "Read & Execute" permissions to the file in question from the Windows
file properties dialog, and it gets converted to an "x" on Linux side, then the file becomes executable
from on Windows (from either within a Cygwin shell or outside).

AFAICT, there's nothing in strace (follows) rather than trying to get info on "Z:" twice.

$ strace getfacl /cygdrive/z
--- Process 3412 created
--- Process 3412 loaded C:\Windows\System32\ntdll.dll at 00007ffcdea70000
--- Process 3412 loaded C:\Windows\System32\kernel32.dll at 00007ffcdde60000
--- Process 3412 loaded C:\Windows\System32\KernelBase.dll at 00007ffcdbbe0000
--- Process 3412 thread 2912 created
--- Process 3412 loaded C:\Cygwin64\bin\cygwin1.dll at 0000000180040000
    2       2 [main] getfacl (3412) **********************************************
   48      50 [main] getfacl (3412) Program name: C:\Cygwin64\bin\getfacl.exe (windows pid 3412)
   25      75 [main] getfacl (3412) OS version:   Windows NT-10.0
   23      98 [main] getfacl (3412) **********************************************
--- Process 3412 loaded C:\Windows\System32\advapi32.dll at 00007ffcde990000
--- Process 3412 loaded C:\Windows\System32\msvcrt.dll at 00007ffcddd20000
--- Process 3412 loaded C:\Windows\System32\sechost.dll at 00007ffcdd800000
--- Process 3412 loaded C:\Windows\System32\rpcrt4.dll at 00007ffcde800000
--- Process 3412 thread 2120 created
--- Process 3412 loaded C:\Windows\System32\cryptbase.dll at 00007ffcda7d0000
--- Process 3412 loaded C:\Windows\System32\bcryptprimitives.dll at 00007ffcdbe60000
 3732    3830 [main] getfacl (3412) sigprocmask: 0 = sigprocmask (0, 0x0, 0x1802FBC50)
  630    4460 [main] getfacl 3412 open_shared: name shared.5, n 5, shared 0x180030000 (wanted 0x180030000), h 0xC8, *m 6
  193    4653 [main] getfacl 3412 user_heap_info::init: heap base 0x600000000, heap top 0x600000000, heap size 0x20000000 (536870912)
  227    4880 [main] getfacl 3412 open_shared: name S-1-5-21-2137354491-1741569864-122644288-1606.1, n 1, shared 0x180020000 (wanted 0x180020000), h 0xC4, *m 6
  162    5042 [main] getfacl 3412 user_info::create: opening user shared for 'S-1-5-21-2137354491-1741569864-122644288-1606' at 0x180020000
  245    5287 [main] getfacl 3412 user_info::create: user shared version AB1FCCE8
  178    5465 [main] getfacl 3412 fhandler_pipe::create: name \\.\pipe\cygwin-e022582115c10879-3412-sigwait, size 11440, mode PIPE_TYPE_MESSAGE
   55    5520 [main] getfacl 3412 fhandler_pipe::create: pipe read handle 0xDC
   24    5544 [main] getfacl 3412 fhandler_pipe::create: CreateFile: name \\.\pipe\cygwin-e022582115c10879-3412-sigwait
  118    5662 [main] getfacl 3412 fhandler_pipe::create: pipe write handle 0xE0
  195    5857 [main] getfacl 3412 dll_crt0_0: finished dll_crt0_0 initialization
--- Process 3412 thread 20940 created
  932    6789 [main] getfacl 3412 time: 1565789069 = time(0x0)
   29    6818 [sig] getfacl 3412 wait_sig: entering ReadFile loop, my_readsig 0xDC, my_sendsig 0xE0
  155    6973 [main] getfacl 3412 mount_info::conv_to_posix_path: conv_to_posix_path (\\coredev2\home\lavr, 0x0, no-add-slash)
  208    7181 [main] getfacl 3412 normalize_win32_path: \\coredev2\home\lavr = normalize_win32_path (\\coredev2\home\lavr)
  116    7297 [main] getfacl 3412 mount_info::conv_to_posix_path: /mnt = conv_to_posix_path (\\coredev2\home\lavr)
  167    7464 [main] getfacl 3412 sigprocmask: 0 = sigprocmask (0, 0x0, 0x600018130)
  318    7782 [main] getfacl 3412 _cygwin_istext_for_stdio: fd 0: not open
  109    7891 [main] getfacl 3412 _cygwin_istext_for_stdio: fd 1: not open
  118    8009 [main] getfacl 3412 _cygwin_istext_for_stdio: fd 2: not open
  368    8377 [main] getfacl (3412) open_shared: name cygpid.3412, n 3412, shared 0x180010000 (wanted 0x180010000), h 0x108, *m 2
  188    8565 [main] getfacl (3412) time: 1565789069 = time(0x0)
  150    8715 [main] getfacl 3412 pinfo::thisproc: myself dwProcessId 3412
  122    8837 [main] getfacl 3412 environ_init: GetEnvironmentStrings returned 0x113B10
  626    9463 [main] getfacl 3412 win32env_to_cygenv: 0x6000284F0: ADVISOR_2018_DIR=C:\Program Files (x86)\IntelSWTools\Advisor 2018\
   80    9543 [main] getfacl 3412 win32env_to_cygenv: 0x600028540: ADVISOR_2019_DIR=C:\Program Files (x86)\IntelSWTools\Advisor 2019\
  111    9654 [main] getfacl 3412 win32env_to_cygenv: 0x600028590: ALLUSERSPROFILE=C:\ProgramData
  194    9848 [main] getfacl 3412 win32env_to_cygenv: 0x6000285C0: APPDATA=C:\Users\lavr\AppData\Roaming
  170   10018 [main] getfacl 3412 win32env_to_cygenv: 0x6000285F0: BLASTDB=\\snowman\blast\db\blast
  234   10252 [main] getfacl 3412 win32env_to_cygenv: 0x600028620: COMMONPROGRAMFILES=C:\Program Files\Common Files
  322   10574 [main] getfacl 3412 win32env_to_cygenv: 0x600028660: COMPUTERNAME=NCBIPC9135
   71   10645 [main] getfacl 3412 win32env_to_cygenv: 0x600028680: COMSPEC=C:\WINDOWS\system32\cmd.exe
   68   10713 [main] getfacl 3412 parse_options: glob (called func)
   96   10809 [main] getfacl 3412 parse_options: nodosfilewarning
   90   10899 [main] getfacl 3412 parse_options: returning
   24   10923 [main] getfacl 3412 win32env_to_cygenv: 0x6000286B0: CYGWIN=noglob nodosfilewarning
   48   10971 [main] getfacl 3412 win32env_to_cygenv: 0x600028720: CommonProgramFiles(x86)=C:\Program Files (x86)\Common Files
  209   11180 [main] getfacl 3412 win32env_to_cygenv: 0x600028770: CommonProgramW6432=C:\Program Files\Common Files
  326   11506 [main] getfacl 3412 win32env_to_cygenv: 0x6000287B0: DriverData=C:\Windows\System32\Drivers\DriverData
  391   11897 [main] getfacl 3412 win32env_to_cygenv: 0x6000287F0: EXECIGNORE=*.dll
  287   12184 [main] getfacl 3412 getwinenv: can't set native for HOME= since no environ yet
  175   12359 [main] getfacl 3412 mount_info::conv_to_posix_path: conv_to_posix_path (C:\Cygwin64\home\lavr, 0x10000000, no-add-slash)
  154   12513 [main] getfacl 3412 normalize_win32_path: C:\Cygwin64\home\lavr = normalize_win32_path (C:\Cygwin64\home\lavr)
  145   12658 [main] getfacl 3412 mount_info::conv_to_posix_path: /home/lavr = conv_to_posix_path (C:\Cygwin64\home\lavr)
  345   13003 [main] getfacl 3412 win_env::add_cache: posix /home/lavr
  245   13248 [main] getfacl 3412 win_env::add_cache: native HOME=C:\Cygwin64\home\lavr
  170   13418 [main] getfacl 3412 posify_maybe: env var converted to HOME=/home/lavr
  340   13758 [main] getfacl 3412 win32env_to_cygenv: 0x600028890: HOME=/home/lavr
  185   13943 [main] getfacl 3412 win32env_to_cygenv: 0x600028810: HOMEDRIVE=U:
  200   14143 [main] getfacl 3412 win32env_to_cygenv: 0x6000288B0: HOMEPATH=\
  176   14319 [main] getfacl 3412 win32env_to_cygenv: 0x6000288D0: HOMESHARE=\\snowman\lavr
  168   14487 [main] getfacl 3412 win32env_to_cygenv: 0x600028900: HOSTNAME=NCBIPC9135
  174   14661 [main] getfacl 3412 win32env_to_cygenv: 0x600028920: ICPP_COMPILER18=C:\Program Files (x86)\IntelSWTools\compilers_and_libraries_2018.1.156\windows\
  184   14845 [main] getfacl 3412 win32env_to_cygenv: 0x600028990: ICPP_COMPILER19=C:\Program Files (x86)\IntelSWTools\compilers_and_libraries_2019.1.144\windows\
  178   15023 [main] getfacl 3412 win32env_to_cygenv: 0x600028A00: INFOPATH=/usr/local/info:/usr/share/info:/usr/info
  213   15236 [main] getfacl 3412 win32env_to_cygenv: 0x600028A40: INSPECTOR_2018_DIR=C:\Program Files (x86)\IntelSWTools\Inspector 2018\
  182   15418 [main] getfacl 3412 win32env_to_cygenv: 0x600028A90: INSPECTOR_2019_DIR=C:\Program Files (x86)\IntelSWTools\Inspector 2019\
  171   15589 [main] getfacl 3412 win32env_to_cygenv: 0x600028AE0: INTELGTDEBUGGERROOT=C:\Program Files (x86)\IntelSWTools\debugger_2018\gdb\intel64_igfx\
  183   15772 [main] getfacl 3412 win32env_to_cygenv: 0x600028B40: INTEL_DEV_REDIST=C:\Program Files (x86)\Common Files\Intel\Shared Libraries\
  174   15946 [main] getfacl 3412 win32env_to_cygenv: 0x600028BA0: INTEL_LICENSE_FILE=C:\Program Files (x86)\Common Files\Intel\Licenses
  208   16154 [main] getfacl 3412 win32env_to_cygenv: 0x600028BF0: LANG=en_US.UTF-8
  180   16334 [main] getfacl 3412 win32env_to_cygenv: 0x600028C10: LOCALAPPDATA=C:\Users\lavr\AppData\Local
  166   16500 [main] getfacl 3412 win32env_to_cygenv: 0x600028C50: LOGONSERVER=\\NCBIDC01
  173   16673 [main] getfacl 3412 win32env_to_cygenv: 0x600028C70: MIC_LD_LIBRARY_PATH=C:\Program Files (x86)\Common Files\Intel\Shared Libraries\compiler\lib\intel64_win_mic
  178   16851 [main] getfacl 3412 win32env_to_cygenv: 0x600028CF0: MINTTY_SHORTCUT=/cygdrive/c/Users/lavr/Desktop/Cygwin64 Terminal.lnk
  169   17020 [main] getfacl 3412 win32env_to_cygenv: 0x600028D40: MSMPI_BIN=C:\Program Files\Microsoft MPI\Bin\
  186   17206 [main] getfacl 3412 win32env_to_cygenv: 0x600028D80: NCBI=\\snowman\win-coremake
  172   17378 [main] getfacl 3412 win32env_to_cygenv: 0x600028DB0: NUMBER_OF_PROCESSORS=8
  192   17570 [main] getfacl 3412 win32env_to_cygenv: 0x600028DD0: OLDPWD=/home/lavr
  192   17762 [main] getfacl 3412 win32env_to_cygenv: 0x600028DF0: ORIGINAL_PATH=/cygdrive/c/Program Files (x86)/Common Files/Intel/Shared Libraries/redist/intel64_win/mpirt:/cygdrive/c/Program Files (x86)/Common Files/Intel/Shared Libraries/redist/ia32_win/mpirt:/cygdrive/c/Program Files (x86)/Common Files/Intel/Shared Libraries/redist/intel64_win/compiler:/cygdrive/c/Program Files (x86)/Common Files/Intel/Shared Libraries/redist/ia32_win/compiler:/cygdrive/c/Program Files/VanDyke Software/Clients:/cygdrive/c/Program Files (x86)/CollabNet/Subversion Client:/cygdrive/c/Program Files (x86)/Common Files/Oracle/Java/javapath:/cygdrive/c/Program Files (x86)/CVSNT:/cygdrive/c/Program Files/Microsoft MPI/Bin:/cygdrive/c/Program Files (x86)/Common Files/Intel/Shared Libraries/redist/intel64_win/mpirt:/cygdrive/c/Program Files (x86)/Common Files/Intel/Shared Libraries/redist/ia32_win/mpirt:/cygdrive/c/Program Files (x86)/Common Files/Intel/Shared Libraries/redist/intel64_win/compiler:/cygdrive/c/Program Files (x86)/Common Files/Intel/Shared Libraries/redist/ia32_win/compiler:/cygdrive/c/Program Files/Perl64/site/bin:/cygdrive/c/Program Files/Perl64/bin:/cygdrive/c/WINDOWS/system32:/cygdrive/c/WINDOWS:/cygdrive/c/WINDOWS/System32/Wbem:/cygdrive/c/WINDOWS/System32/WindowsPowerShell/v1.0:/cygdrive/c/Program Files (x86)/HID Global/ActivClient:/cygdrive/c/Program Files/HID Global/ActivClient:/cygdrive/c/WINDOWS/System32/OpenSSH:/cygdrive/c/Program Files/TortoiseSVN/bin:/cygdrive/c/Program Files/TortoiseGit/bin:/cygdrive/c/Program Files (x86)/Microsoft SQL Server/Client SDK/ODBC/130/Tools/Binn:/cygdrive/c/Program Files (x86)/Microsoft SQL Server/140/Tools/Binn:/cygdrive/c/Program Files (x86)/Microsoft SQL Server/140/DTS/Binn:/cygdrive/c/Program Files (x86)/Microsoft SQL Server/140/Tools/Binn/ManagementStudio:/cygdrive/c/Program Files (x86)/WebEx/Productivity Tools:/cygdrive/c/Program Files (x86)/Windows Kits/10/Windows Performance Toolkit:/cygdrive/c/Program Files/Git/cmd:/cygdrive/c/Users/lavr/AppData/Local/Microsoft/WindowsApps://SNOWMAN/Win-coremake/scripts/bin:/cygdrive/c/Apps/User_Installs/SYSINTERNALS
  125   17887 [main] getfacl 3412 win32env_to_cygenv: 0x600029610: OS=Windows_NT
  219   18106 [main] getfacl 3412 win32env_to_cygenv: 0x600029630: OneDrive=C:\Users\Administrator\OneDrive
  182   18288 [main] getfacl 3412 getwinenv: can't set native for PATH= since no environ yet
  201   18489 [main] getfacl 3412 mount_info::conv_to_posix_path: conv_to_posix_path (C:\Cygwin64\usr\local\bin, 0x10000100, no-add-slash)
  114   18603 [main] getfacl 3412 normalize_win32_path: C:\Cygwin64\usr\local\bin = normalize_win32_path (C:\Cygwin64\usr\local\bin)
  104   18707 [main] getfacl 3412 mount_info::conv_to_posix_path: /usr/local/bin = conv_to_posix_path (C:\Cygwin64\usr\local\bin)
  104   18811 [main] getfacl 3412 mount_info::conv_to_posix_path: conv_to_posix_path (C:\Cygwin64\bin, 0x10000100, no-add-slash)
  114   18925 [main] getfacl 3412 normalize_win32_path: C:\Cygwin64\bin = normalize_win32_path (C:\Cygwin64\bin)
  121   19046 [main] getfacl 3412 mount_info::conv_to_posix_path: /usr/bin = conv_to_posix_path (C:\Cygwin64\bin)
  115   19161 [main] getfacl 3412 mount_info::conv_to_posix_path: conv_to_posix_path (C:\Program Files (x86)\Common Files\Intel\Shared Libraries\redist\intel64_win\mpirt, 0x10000100, no-add-slash)
  105   19266 [main] getfacl 3412 normalize_win32_path: C:\Program Files (x86)\Common Files\Intel\Shared Libraries\redist\intel64_win\mpirt = normalize_win32_path (C:\Program Files (x86)\Common Files\Intel\Shared Libraries\redist\intel64_win\mpirt)
  108   19374 [main] getfacl 3412 mount_info::conv_to_posix_path: /cygdrive/c/Program Files (x86)/Common Files/Intel/Shared Libraries/redist/intel64_win/mpirt = conv_to_posix_path (C:\Program Files (x86)\Common Files\Intel\Shared Libraries\redist\intel64_win\mpirt)
  100   19474 [main] getfacl 3412 mount_info::conv_to_posix_path: conv_to_posix_path (C:\Program Files (x86)\Common Files\Intel\Shared Libraries\redist\ia32_win\mpirt, 0x10000100, no-add-slash)
  102   19576 [main] getfacl 3412 normalize_win32_path: C:\Program Files (x86)\Common Files\Intel\Shared Libraries\redist\ia32_win\mpirt = normalize_win32_path (C:\Program Files (x86)\Common Files\Intel\Shared Libraries\redist\ia32_win\mpirt)
  105   19681 [main] getfacl 3412 mount_info::conv_to_posix_path: /cygdrive/c/Program Files (x86)/Common Files/Intel/Shared Libraries/redist/ia32_win/mpirt = conv_to_posix_path (C:\Program Files (x86)\Common Files\Intel\Shared Libraries\redist\ia32_win\mpirt)
  113   19794 [main] getfacl 3412 mount_info::conv_to_posix_path: conv_to_posix_path (C:\Program Files (x86)\Common Files\Intel\Shared Libraries\redist\intel64_win\compiler, 0x10000100, no-add-slash)
  106   19900 [main] getfacl 3412 normalize_win32_path: C:\Program Files (x86)\Common Files\Intel\Shared Libraries\redist\intel64_win\compiler = normalize_win32_path (C:\Program Files (x86)\Common Files\Intel\Shared Libraries\redist\intel64_win\compiler)
  114   20014 [main] getfacl 3412 mount_info::conv_to_posix_path: /cygdrive/c/Program Files (x86)/Common Files/Intel/Shared Libraries/redist/intel64_win/compiler = conv_to_posix_path (C:\Program Files (x86)\Common Files\Intel\Shared Libraries\redist\intel64_win\compiler)
  152   20166 [main] getfacl 3412 mount_info::conv_to_posix_path: conv_to_posix_path (C:\Program Files (x86)\Common Files\Intel\Shared Libraries\redist\ia32_win\compiler, 0x10000100, no-add-slash)
  102   20268 [main] getfacl 3412 normalize_win32_path: C:\Program Files (x86)\Common Files\Intel\Shared Libraries\redist\ia32_win\compiler = normalize_win32_path (C:\Program Files (x86)\Common Files\Intel\Shared Libraries\redist\ia32_win\compiler)
  103   20371 [main] getfacl 3412 mount_info::conv_to_posix_path: /cygdrive/c/Program Files (x86)/Common Files/Intel/Shared Libraries/redist/ia32_win/compiler = conv_to_posix_path (C:\Program Files (x86)\Common Files\Intel\Shared Libraries\redist\ia32_win\compiler)
  107   20478 [main] getfacl 3412 mount_info::conv_to_posix_path: conv_to_posix_path (C:\Program Files\VanDyke Software\Clients, 0x10000100, no-add-slash)
   88   20566 [main] getfacl 3412 normalize_win32_path: C:\Program Files\VanDyke Software\Clients = normalize_win32_path (C:\Program Files\VanDyke Software\Clients)
  104   20670 [main] getfacl 3412 mount_info::conv_to_posix_path: /cygdrive/c/Program Files/VanDyke Software/Clients = conv_to_posix_path (C:\Program Files\VanDyke Software\Clients)
   87   20757 [main] getfacl 3412 mount_info::conv_to_posix_path: conv_to_posix_path (C:\Program Files (x86)\CollabNet\Subversion Client, 0x10000100, no-add-slash)
  103   20860 [main] getfacl 3412 normalize_win32_path: C:\Program Files (x86)\CollabNet\Subversion Client = normalize_win32_path (C:\Program Files (x86)\CollabNet\Subversion Client)
  106   20966 [main] getfacl 3412 mount_info::conv_to_posix_path: /cygdrive/c/Program Files (x86)/CollabNet/Subversion Client = conv_to_posix_path (C:\Program Files (x86)\CollabNet\Subversion Client)
  140   21106 [main] getfacl 3412 mount_info::conv_to_posix_path: conv_to_posix_path (C:\Program Files (x86)\Common Files\Oracle\Java\javapath, 0x10000100, no-add-slash)
   93   21199 [main] getfacl 3412 normalize_win32_path: C:\Program Files (x86)\Common Files\Oracle\Java\javapath = normalize_win32_path (C:\Program Files (x86)\Common Files\Oracle\Java\javapath)
  121   21320 [main] getfacl 3412 mount_info::conv_to_posix_path: /cygdrive/c/Program Files (x86)/Common Files/Oracle/Java/javapath = conv_to_posix_path (C:\Program Files (x86)\Common Files\Oracle\Java\javapath)
  108   21428 [main] getfacl 3412 mount_info::conv_to_posix_path: conv_to_posix_path (C:\Program Files (x86)\CVSNT, 0x10000100, no-add-slash)
   84   21512 [main] getfacl 3412 normalize_win32_path: C:\Program Files (x86)\CVSNT = normalize_win32_path (C:\Program Files (x86)\CVSNT)
  107   21619 [main] getfacl 3412 mount_info::conv_to_posix_path: /cygdrive/c/Program Files (x86)/CVSNT = conv_to_posix_path (C:\Program Files (x86)\CVSNT)
  103   21722 [main] getfacl 3412 mount_info::conv_to_posix_path: conv_to_posix_path (C:\Program Files\Microsoft MPI\Bin, 0x10000100, no-add-slash)
   90   21812 [main] getfacl 3412 normalize_win32_path: C:\Program Files\Microsoft MPI\Bin = normalize_win32_path (C:\Program Files\Microsoft MPI\Bin)
  103   21915 [main] getfacl 3412 mount_info::conv_to_posix_path: /cygdrive/c/Program Files/Microsoft MPI/Bin = conv_to_posix_path (C:\Program Files\Microsoft MPI\Bin)
  135   22050 [main] getfacl 3412 mount_info::conv_to_posix_path: conv_to_posix_path (C:\Program Files (x86)\Common Files\Intel\Shared Libraries\redist\intel64_win\mpirt, 0x10000100, no-add-slash)
   98   22148 [main] getfacl 3412 normalize_win32_path: C:\Program Files (x86)\Common Files\Intel\Shared Libraries\redist\intel64_win\mpirt = normalize_win32_path (C:\Program Files (x86)\Common Files\Intel\Shared Libraries\redist\intel64_win\mpirt)
   86   22234 [main] getfacl 3412 mount_info::conv_to_posix_path: /cygdrive/c/Program Files (x86)/Common Files/Intel/Shared Libraries/redist/intel64_win/mpirt = conv_to_posix_path (C:\Program Files (x86)\Common Files\Intel\Shared Libraries\redist\intel64_win\mpirt)
  103   22337 [main] getfacl 3412 mount_info::conv_to_posix_path: conv_to_posix_path (C:\Program Files (x86)\Common Files\Intel\Shared Libraries\redist\ia32_win\mpirt, 0x10000100, no-add-slash)
  103   22440 [main] getfacl 3412 normalize_win32_path: C:\Program Files (x86)\Common Files\Intel\Shared Libraries\redist\ia32_win\mpirt = normalize_win32_path (C:\Program Files (x86)\Common Files\Intel\Shared Libraries\redist\ia32_win\mpirt)
  100   22540 [main] getfacl 3412 mount_info::conv_to_posix_path: /cygdrive/c/Program Files (x86)/Common Files/Intel/Shared Libraries/redist/ia32_win/mpirt = conv_to_posix_path (C:\Program Files (x86)\Common Files\Intel\Shared Libraries\redist\ia32_win\mpirt)
  103   22643 [main] getfacl 3412 mount_info::conv_to_posix_path: conv_to_posix_path (C:\Program Files (x86)\Common Files\Intel\Shared Libraries\redist\intel64_win\compiler, 0x10000100, no-add-slash)
   97   22740 [main] getfacl 3412 normalize_win32_path: C:\Program Files (x86)\Common Files\Intel\Shared Libraries\redist\intel64_win\compiler = normalize_win32_path (C:\Program Files (x86)\Common Files\Intel\Shared Libraries\redist\intel64_win\compiler)
  106   22846 [main] getfacl 3412 mount_info::conv_to_posix_path: /cygdrive/c/Program Files (x86)/Common Files/Intel/Shared Libraries/redist/intel64_win/compiler = conv_to_posix_path (C:\Program Files (x86)\Common Files\Intel\Shared Libraries\redist\intel64_win\compiler)
  103   22949 [main] getfacl 3412 mount_info::conv_to_posix_path: conv_to_posix_path (C:\Program Files (x86)\Common Files\Intel\Shared Libraries\redist\ia32_win\compiler, 0x10000100, no-add-slash)
  148   23097 [main] getfacl 3412 normalize_win32_path: C:\Program Files (x86)\Common Files\Intel\Shared Libraries\redist\ia32_win\compiler = normalize_win32_path (C:\Program Files (x86)\Common Files\Intel\Shared Libraries\redist\ia32_win\compiler)
  106   23203 [main] getfacl 3412 mount_info::conv_to_posix_path: /cygdrive/c/Program Files (x86)/Common Files/Intel/Shared Libraries/redist/ia32_win/compiler = conv_to_posix_path (C:\Program Files (x86)\Common Files\Intel\Shared Libraries\redist\ia32_win\compiler)
  116   23319 [main] getfacl 3412 mount_info::conv_to_posix_path: conv_to_posix_path (C:\Program Files\Perl64\site\bin, 0x10000100, no-add-slash)
  103   23422 [main] getfacl 3412 normalize_win32_path: C:\Program Files\Perl64\site\bin = normalize_win32_path (C:\Program Files\Perl64\site\bin)
  100   23522 [main] getfacl 3412 mount_info::conv_to_posix_path: /cygdrive/c/Program Files/Perl64/site/bin = conv_to_posix_path (C:\Program Files\Perl64\site\bin)
  103   23625 [main] getfacl 3412 mount_info::conv_to_posix_path: conv_to_posix_path (C:\Program Files\Perl64\bin, 0x10000100, no-add-slash)
  115   23740 [main] getfacl 3412 normalize_win32_path: C:\Program Files\Perl64\bin = normalize_win32_path (C:\Program Files\Perl64\bin)
  104   23844 [main] getfacl 3412 mount_info::conv_to_posix_path: /cygdrive/c/Program Files/Perl64/bin = conv_to_posix_path (C:\Program Files\Perl64\bin)
  105   23949 [main] getfacl 3412 mount_info::conv_to_posix_path: conv_to_posix_path (C:\WINDOWS\system32, 0x10000100, no-add-slash)
  114   24063 [main] getfacl 3412 normalize_win32_path: C:\WINDOWS\system32 = normalize_win32_path (C:\WINDOWS\system32)
   95   24158 [main] getfacl 3412 mount_info::conv_to_posix_path: /cygdrive/c/WINDOWS/system32 = conv_to_posix_path (C:\WINDOWS\system32)
   98   24256 [main] getfacl 3412 mount_info::conv_to_posix_path: conv_to_posix_path (C:\WINDOWS, 0x10000100, no-add-slash)
   85   24341 [main] getfacl 3412 normalize_win32_path: C:\WINDOWS = normalize_win32_path (C:\WINDOWS)
   97   24438 [main] getfacl 3412 mount_info::conv_to_posix_path: /cygdrive/c/WINDOWS = conv_to_posix_path (C:\WINDOWS)
  131   24569 [main] getfacl 3412 mount_info::conv_to_posix_path: conv_to_posix_path (C:\WINDOWS\System32\Wbem, 0x10000100, no-add-slash)
   96   24665 [main] getfacl 3412 normalize_win32_path: C:\WINDOWS\System32\Wbem = normalize_win32_path (C:\WINDOWS\System32\Wbem)
   98   24763 [main] getfacl 3412 mount_info::conv_to_posix_path: /cygdrive/c/WINDOWS/System32/Wbem = conv_to_posix_path (C:\WINDOWS\System32\Wbem)
  110   24873 [main] getfacl 3412 mount_info::conv_to_posix_path: conv_to_posix_path (C:\WINDOWS\System32\WindowsPowerShell\v1.0, 0x10000100, no-add-slash)
  106   24979 [main] getfacl 3412 normalize_win32_path: C:\WINDOWS\System32\WindowsPowerShell\v1.0 = normalize_win32_path (C:\WINDOWS\System32\WindowsPowerShell\v1.0)
  121   25100 [main] getfacl 3412 mount_info::conv_to_posix_path: /cygdrive/c/WINDOWS/System32/WindowsPowerShell/v1.0 = conv_to_posix_path (C:\WINDOWS\System32\WindowsPowerShell\v1.0)
  113   25213 [main] getfacl 3412 mount_info::conv_to_posix_path: conv_to_posix_path (C:\Program Files (x86)\HID Global\ActivClient, 0x10000100, no-add-slash)
  114   25327 [main] getfacl 3412 normalize_win32_path: C:\Program Files (x86)\HID Global\ActivClient = normalize_win32_path (C:\Program Files (x86)\HID Global\ActivClient)
  104   25431 [main] getfacl 3412 mount_info::conv_to_posix_path: /cygdrive/c/Program Files (x86)/HID Global/ActivClient = conv_to_posix_path (C:\Program Files (x86)\HID Global\ActivClient)
  103   25534 [main] getfacl 3412 mount_info::conv_to_posix_path: conv_to_posix_path (C:\Program Files\HID Global\ActivClient, 0x10000100, no-add-slash)
   98   25632 [main] getfacl 3412 normalize_win32_path: C:\Program Files\HID Global\ActivClient = normalize_win32_path (C:\Program Files\HID Global\ActivClient)
  102   25734 [main] getfacl 3412 mount_info::conv_to_posix_path: /cygdrive/c/Program Files/HID Global/ActivClient = conv_to_posix_path (C:\Program Files\HID Global\ActivClient)
   89   25823 [main] getfacl 3412 mount_info::conv_to_posix_path: conv_to_posix_path (C:\WINDOWS\System32\OpenSSH, 0x10000100, no-add-slash)
  110   25933 [main] getfacl 3412 normalize_win32_path: C:\WINDOWS\System32\OpenSSH = normalize_win32_path (C:\WINDOWS\System32\OpenSSH)
  179   26112 [main] getfacl 3412 mount_info::conv_to_posix_path: /cygdrive/c/WINDOWS/System32/OpenSSH = conv_to_posix_path (C:\WINDOWS\System32\OpenSSH)
  122   26234 [main] getfacl 3412 mount_info::conv_to_posix_path: conv_to_posix_path (C:\Program Files\TortoiseSVN\bin, 0x10000100, no-add-slash)
  106   26340 [main] getfacl 3412 normalize_win32_path: C:\Program Files\TortoiseSVN\bin = normalize_win32_path (C:\Program Files\TortoiseSVN\bin)
   95   26435 [main] getfacl 3412 mount_info::conv_to_posix_path: /cygdrive/c/Program Files/TortoiseSVN/bin = conv_to_posix_path (C:\Program Files\TortoiseSVN\bin)
  105   26540 [main] getfacl 3412 mount_info::conv_to_posix_path: conv_to_posix_path (C:\Program Files\TortoiseGit\bin, 0x10000100, no-add-slash)
   93   26633 [main] getfacl 3412 normalize_win32_path: C:\Program Files\TortoiseGit\bin = normalize_win32_path (C:\Program Files\TortoiseGit\bin)
  109   26742 [main] getfacl 3412 mount_info::conv_to_posix_path: /cygdrive/c/Program Files/TortoiseGit/bin = conv_to_posix_path (C:\Program Files\TortoiseGit\bin)
   92   26834 [main] getfacl 3412 mount_info::conv_to_posix_path: conv_to_posix_path (C:\Program Files (x86)\Microsoft SQL Server\Client SDK\ODBC\130\Tools\Binn, 0x10000100, no-add-slash)
  124   26958 [main] getfacl 3412 normalize_win32_path: C:\Program Files (x86)\Microsoft SQL Server\Client SDK\ODBC\130\Tools\Binn = normalize_win32_path (C:\Program Files (x86)\Microsoft SQL Server\Client SDK\ODBC\130\Tools\Binn)
  115   27073 [main] getfacl 3412 mount_info::conv_to_posix_path: /cygdrive/c/Program Files (x86)/Microsoft SQL Server/Client SDK/ODBC/130/Tools/Binn = conv_to_posix_path (C:\Program Files (x86)\Microsoft SQL Server\Client SDK\ODBC\130\Tools\Binn)
   85   27158 [main] getfacl 3412 mount_info::conv_to_posix_path: conv_to_posix_path (C:\Program Files (x86)\Microsoft SQL Server\140\Tools\Binn, 0x10000100, no-add-slash)
  102   27260 [main] getfacl 3412 normalize_win32_path: C:\Program Files (x86)\Microsoft SQL Server\140\Tools\Binn = normalize_win32_path (C:\Program Files (x86)\Microsoft SQL Server\140\Tools\Binn)
  117   27377 [main] getfacl 3412 mount_info::conv_to_posix_path: /cygdrive/c/Program Files (x86)/Microsoft SQL Server/140/Tools/Binn = conv_to_posix_path (C:\Program Files (x86)\Microsoft SQL Server\140\Tools\Binn)
  103   27480 [main] getfacl 3412 mount_info::conv_to_posix_path: conv_to_posix_path (C:\Program Files (x86)\Microsoft SQL Server\140\DTS\Binn, 0x10000100, no-add-slash)
  123   27603 [main] getfacl 3412 normalize_win32_path: C:\Program Files (x86)\Microsoft SQL Server\140\DTS\Binn = normalize_win32_path (C:\Program Files (x86)\Microsoft SQL Server\140\DTS\Binn)
  114   27717 [main] getfacl 3412 mount_info::conv_to_posix_path: /cygdrive/c/Program Files (x86)/Microsoft SQL Server/140/DTS/Binn = conv_to_posix_path (C:\Program Files (x86)\Microsoft SQL Server\140\DTS\Binn)
   96   27813 [main] getfacl 3412 mount_info::conv_to_posix_path: conv_to_posix_path (C:\Program Files (x86)\Microsoft SQL Server\140\Tools\Binn\ManagementStudio, 0x10000100, no-add-slash)
  103   27916 [main] getfacl 3412 normalize_win32_path: C:\Program Files (x86)\Microsoft SQL Server\140\Tools\Binn\ManagementStudio = normalize_win32_path (C:\Program Files (x86)\Microsoft SQL Server\140\Tools\Binn\ManagementStudio)
  138   28054 [main] getfacl 3412 mount_info::conv_to_posix_path: /cygdrive/c/Program Files (x86)/Microsoft SQL Server/140/Tools/Binn/ManagementStudio = conv_to_posix_path (C:\Program Files (x86)\Microsoft SQL Server\140\Tools\Binn\ManagementStudio)
   99   28153 [main] getfacl 3412 mount_info::conv_to_posix_path: conv_to_posix_path (C:\Program Files (x86)\WebEx\Productivity Tools, 0x10000100, no-add-slash)
   24   28177 [main] getfacl 3412 normalize_win32_path: C:\Program Files (x86)\WebEx\Productivity Tools = normalize_win32_path (C:\Program Files (x86)\WebEx\Productivity Tools)
   53   28230 [main] getfacl 3412 mount_info::conv_to_posix_path: /cygdrive/c/Program Files (x86)/WebEx/Productivity Tools = conv_to_posix_path (C:\Program Files (x86)\WebEx\Productivity Tools)
   47   28277 [main] getfacl 3412 mount_info::conv_to_posix_path: conv_to_posix_path (C:\Program Files (x86)\Windows Kits\10\Windows Performance Toolkit, 0x10000100, no-add-slash)
  150   28427 [main] getfacl 3412 normalize_win32_path: C:\Program Files (x86)\Windows Kits\10\Windows Performance Toolkit = normalize_win32_path (C:\Program Files (x86)\Windows Kits\10\Windows Performance Toolkit)
  105   28532 [main] getfacl 3412 mount_info::conv_to_posix_path: /cygdrive/c/Program Files (x86)/Windows Kits/10/Windows Performance Toolkit = conv_to_posix_path (C:\Program Files (x86)\Windows Kits\10\Windows Performance Toolkit)
  102   28634 [main] getfacl 3412 mount_info::conv_to_posix_path: conv_to_posix_path (C:\Program Files\Git\cmd, 0x10000100, no-add-slash)
   32   28666 [main] getfacl 3412 normalize_win32_path: C:\Program Files\Git\cmd = normalize_win32_path (C:\Program Files\Git\cmd)
   22   28688 [main] getfacl 3412 mount_info::conv_to_posix_path: /cygdrive/c/Program Files/Git/cmd = conv_to_posix_path (C:\Program Files\Git\cmd)
   24   28712 [main] getfacl 3412 mount_info::conv_to_posix_path: conv_to_posix_path (C:\Users\lavr\AppData\Local\Microsoft\WindowsApps, 0x10000100, no-add-slash)
   24   28736 [main] getfacl 3412 normalize_win32_path: C:\Users\lavr\AppData\Local\Microsoft\WindowsApps = normalize_win32_path (C:\Users\lavr\AppData\Local\Microsoft\WindowsApps)
  126   28862 [main] getfacl 3412 mount_info::conv_to_posix_path: /cygdrive/c/Users/lavr/AppData/Local/Microsoft/WindowsApps = conv_to_posix_path (C:\Users\lavr\AppData\Local\Microsoft\WindowsApps)
  104   28966 [main] getfacl 3412 mount_info::conv_to_posix_path: conv_to_posix_path (\\SNOWMAN\Win-coremake\scripts\bin, 0x10000100, no-add-slash)
  133   29099 [main] getfacl 3412 normalize_win32_path: \\SNOWMAN\Win-coremake\scripts\bin = normalize_win32_path (\\SNOWMAN\Win-coremake\scripts\bin)
  106   29205 [main] getfacl 3412 mount_info::conv_to_posix_path: //SNOWMAN/Win-coremake/scripts/bin = conv_to_posix_path (\\SNOWMAN\Win-coremake\scripts\bin)
  105   29310 [main] getfacl 3412 mount_info::conv_to_posix_path: conv_to_posix_path (C:\Apps\User_Installs\SYSINTERNALS, 0x10000100, no-add-slash)
  102   29412 [main] getfacl 3412 normalize_win32_path: C:\Apps\User_Installs\SYSINTERNALS = normalize_win32_path (C:\Apps\User_Installs\SYSINTERNALS)
  108   29520 [main] getfacl 3412 mount_info::conv_to_posix_path: /cygdrive/c/Apps/User_Installs/SYSINTERNALS = conv_to_posix_path (C:\Apps\User_Installs\SYSINTERNALS)
  251   29771 [main] getfacl 3412 win_env::add_cache: posix /usr/local/bin:/usr/bin:/cygdrive/c/Program Files (x86)/Common Files/Intel/Shared Libraries/redist/intel64_win/mpirt:/cygdrive/c/Program Files (x86)/Common Files/Intel/Shared Libraries/redist/ia32_win/mpirt:/cygdrive/c/Program Files (x86)/Common Files/Intel/Shared Libraries/redist/intel64_win/compiler:/cygdrive/c/Program Files (x86)/Common Files/Intel/Shared Libraries/redist/ia32_win/compiler:/cygdrive/c/Program Files/VanDyke Software/Clients:/cygdrive/c/Program Files (x86)/CollabNet/Subversion Client:/cygdrive/c/Program Files (x86)/Common Files/Oracle/Java/javapath:/cygdrive/c/Program Files (x86)/CVSNT:/cygdrive/c/Program Files/Microsoft MPI/Bin:/cygdrive/c/Program Files (x86)/Common Files/Intel/Shared Libraries/redist/intel64_win/mpirt:/cygdrive/c/Program Files (x86)/Common Files/Intel/Shared Libraries/redist/ia32_win/mpirt:/cygdrive/c/Program Files (x86)/Common Files/Intel/Shared Libraries/redist/intel64_win/compiler:/cygdrive/c/Program Files (x86)/Common Files/Intel/Shared Libraries/redist/ia32_win/compiler:/cygdrive/c/Program Files/Perl64/site/bin:/cygdrive/c/Program Files/Perl64/bin:/cygdrive/c/WINDOWS/system32:/cygdrive/c/WINDOWS:/cygdrive/c/WINDOWS/System32/Wbem:/cygdrive/c/WINDOWS/System32/WindowsPowerShell/v1.0:/cygdrive/c/Program Files (x86)/HID Global/ActivClient:/cygdrive/c/Program Files/HID Global/ActivClient:/cygdrive/c/WINDOWS/System32/OpenSSH:/cygdrive/c/Program Files/TortoiseSVN/bin:/cygdrive/c/Program Files/TortoiseGit/bin:/cygdrive/c/Program Files (x86)/Microsoft SQL Server/Client SDK/ODBC/130/Tools/Binn:/cygdrive/c/Program Files (x86)/Microsoft SQL Server/140/Tools/Binn:/cygdrive/c/Program Files (x86)/Microsoft SQL Server/140/DTS/Binn:/cygdrive/c/Program Files (x86)/Microsoft SQL Server/140/Tools/Binn/ManagementStudio:/cygdrive/c/Program Files (x86)/WebEx/Productivity Tools:/cygdrive/c/Program Files (x86)/Windows Kits/10/Windows Performance Toolkit:/cygdrive/c/Program Files/Git/cmd:/cygdrive/c/Users/lavr/AppData/Local/Microsoft/WindowsApps://SNOWMAN/Win-coremake/scripts/bin:/cygdrive/c/Apps/User_Installs/SYSINTERNALS
  127   29898 [main] getfacl 3412 win_env::add_cache: native PATH=C:\Cygwin64\usr\local\bin;C:\Cygwin64\bin;C:\Program Files (x86)\Common Files\Intel\Shared Libraries\redist\intel64_win\mpirt;C:\Program Files (x86)\Common Files\Intel\Shared Libraries\redist\ia32_win\mpirt;C:\Program Files (x86)\Common Files\Intel\Shared Libraries\redist\intel64_win\compiler;C:\Program Files (x86)\Common Files\Intel\Shared Libraries\redist\ia32_win\compiler;C:\Program Files\VanDyke Software\Clients;C:\Program Files (x86)\CollabNet\Subversion Client;C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\Program Files (x86)\CVSNT;C:\Program Files\Microsoft MPI\Bin;C:\Program Files (x86)\Common Files\Intel\Shared Libraries\redist\intel64_win\mpirt;C:\Program Files (x86)\Common Files\Intel\Shared Libraries\redist\ia32_win\mpirt;C:\Program Files (x86)\Common Files\Intel\Shared Libraries\redist\intel64_win\compiler;C:\Program Files (x86)\Common Files\Intel\Shared Libraries\redist\ia32_win\compiler;C:\Program Files\Perl64\site\bin;C:\Program Files\Perl64\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0;C:\Program Files (x86)\HID Global\ActivClient;C:\Program Files\HID Global\ActivClient;C:\WINDOWS\System32\OpenSSH;C:\Program Files\TortoiseSVN\bin;C:\Program Files\TortoiseGit\bin;C:\Program Files (x86)\Microsoft SQL Server\Client SDK\ODBC\130\Tools\Binn;C:\Program Files (x86)\Microsoft SQL Server\140\Tools\Binn;C:\Program Files (x86)\Microsoft SQL Server\140\DTS\Binn;C:\Program Files (x86)\Microsoft SQL Server\140\Tools\Binn\ManagementStudio;C:\Program Files (x86)\WebEx\Productivity Tools;C:\Program Files (x86)\Windows Kits\10\Windows Performance Toolkit;C:\Program Files\Git\cmd;C:\Users\lavr\AppData\Local\Microsoft\WindowsApps;\\SNOWMAN\Win-coremake\scripts\bin;C:\Apps\User_Installs\SYSINTERNALS
  150   30048 [main] getfacl 3412 posify_maybe: env var converted to PATH=/usr/local/bin:/usr/bin:/cygdrive/c/Program Files (x86)/Common Files/Intel/Shared Libraries/redist/intel64_win/mpirt:/cygdrive/c/Program Files (x86)/Common Files/Intel/Shared Libraries/redist/ia32_win/mpirt:/cygdrive/c/Program Files (x86)/Common Files/Intel/Shared Libraries/redist/intel64_win/compiler:/cygdrive/c/Program Files (x86)/Common Files/Intel/Shared Libraries/redist/ia32_win/compiler:/cygdrive/c/Program Files/VanDyke Software/Clients:/cygdrive/c/Program Files (x86)/CollabNet/Subversion Client:/cygdrive/c/Program Files (x86)/Common Files/Oracle/Java/javapath:/cygdrive/c/Program Files (x86)/CVSNT:/cygdrive/c/Program Files/Microsoft MPI/Bin:/cygdrive/c/Program Files (x86)/Common Files/Intel/Shared Libraries/redist/intel64_win/mpirt:/cygdrive/c/Program Files (x86)/Common Files/Intel/Shared Libraries/redist/ia32_win/mpirt:/cygdrive/c/Program Files (x86)/Common Files/Intel/Shared Libraries/redist/intel64_win/compiler:/cygdrive/c/Program Files (x86)/Common Files/Intel/Shared Libraries/redist/ia32_win/compiler:/cygdrive/c/Program Files/Perl64/site/bin:/cygdrive/c/Program Files/Perl64/bin:/cygdrive/c/WINDOWS/system32:/cygdrive/c/WINDOWS:/cygdrive/c/WINDOWS/System32/Wbem:/cygdrive/c/WINDOWS/System32/WindowsPowerShell/v1.0:/cygdrive/c/Program Files (x86)/HID Global/ActivClient:/cygdrive/c/Program Files/HID Global/ActivClient:/cygdrive/c/WINDOWS/System32/OpenSSH:/cygdrive/c/Program Files/TortoiseSVN/bin:/cygdrive/c/Program Files/TortoiseGit/bin:/cygdrive/c/Program Files (x86)/Microsoft SQL Server/Client SDK/ODBC/130/Tools/Binn:/cygdrive/c/Program Files (x86)/Microsoft SQL Server/140/Tools/Binn:/cygdrive/c/Program Files (x86)/Microsoft SQL Server/140/DTS/Binn:/cygdrive/c/Program Files (x86)/Microsoft SQL Server/140/Tools/Binn/ManagementStudio:/cygdrive/c/Program Files (x86)/WebEx/Productivity Tools:/cygdrive/c/Program Files (x86)/Windows Kits/10/Windows Performance Toolkit:/cygdrive/c/Program Files/Git/cmd:/cygdrive/c/Users/lavr/AppData/Local/Microsoft/WindowsApps://SNOWMAN/Win-coremake/scripts/bin:/cygdrive/c/Apps/User_Installs/SYSINTERNALS
  282   30330 [main] getfacl 3412 win32env_to_cygenv: 0x60003ACD0: PATH=/usr/local/bin:/usr/bin:/cygdrive/c/Program Files (x86)/Common Files/Intel/Shared Libraries/redist/intel64_win/mpirt:/cygdrive/c/Program Files (x86)/Common Files/Intel/Shared Libraries/redist/ia32_win/mpirt:/cygdrive/c/Program Files (x86)/Common Files/Intel/Shared Libraries/redist/intel64_win/compiler:/cygdrive/c/Program Files (x86)/Common Files/Intel/Shared Libraries/redist/ia32_win/compiler:/cygdrive/c/Program Files/VanDyke Software/Clients:/cygdrive/c/Program Files (x86)/CollabNet/Subversion Client:/cygdrive/c/Program Files (x86)/Common Files/Oracle/Java/javapath:/cygdrive/c/Program Files (x86)/CVSNT:/cygdrive/c/Program Files/Microsoft MPI/Bin:/cygdrive/c/Program Files (x86)/Common Files/Intel/Shared Libraries/redist/intel64_win/mpirt:/cygdrive/c/Program Files (x86)/Common Files/Intel/Shared Libraries/redist/ia32_win/mpirt:/cygdrive/c/Program Files (x86)/Common Files/Intel/Shared Libraries/redist/intel64_win/compiler:/cygdrive/c/Program Files (x86)/Common Files/Intel/Shared Libraries/redist/ia32_win/compiler:/cygdrive/c/Program Files/Perl64/site/bin:/cygdrive/c/Program Files/Perl64/bin:/cygdrive/c/WINDOWS/system32:/cygdrive/c/WINDOWS:/cygdrive/c/WINDOWS/System32/Wbem:/cygdrive/c/WINDOWS/System32/WindowsPowerShell/v1.0:/cygdrive/c/Program Files (x86)/HID Global/ActivClient:/cygdrive/c/Program Files/HID Global/ActivClient:/cygdrive/c/WINDOWS/System32/OpenSSH:/cygdrive/c/Program Files/TortoiseSVN/bin:/cygdrive/c/Program Files/TortoiseGit/bin:/cygdrive/c/Program Files (x86)/Microsoft SQL Server/Client SDK/ODBC/130/Tools/Binn:/cygdrive/c/Program Files (x86)/Microsoft SQL Server/140/Tools/Binn:/cygdrive/c/Program Files (x86)/Microsoft SQL Server/140/DTS/Binn:/cygdrive/c/Program Files (x86)/Microsoft SQL Server/140/Tools/Binn/ManagementStudio:/cygdrive/c/Program Files (x86)/WebEx/Productivity Tools:/cygdrive/c/Program Files (x86)/Windows Kits/10/Windows Performance Toolkit:/cygdrive/c/Program Files/Git/cmd:/cygdrive/c/Users/lavr/AppData/Local/Microsoft/WindowsApps://SNOWMAN/Win-coremake/scripts/bin:/cygdrive/c/Apps/User_Installs/SYSINTERNALS
  184   30514 [main] getfacl 3412 win32env_to_cygenv: 0x600029670: PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
  183   30697 [main] getfacl 3412 win32env_to_cygenv: 0x6000296C0: PRINTER=\\print\np3a
  190   30887 [main] getfacl 3412 win32env_to_cygenv: 0x6000296E0: PROCESSOR_ARCHITECTURE=AMD64
  208   31095 [main] getfacl 3412 win32env_to_cygenv: 0x600029710: PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 158 Stepping 9, GenuineIntel
  180   31275 [main] getfacl 3412 win32env_to_cygenv: 0x600029770: PROCESSOR_LEVEL=6
  175   31450 [main] getfacl 3412 win32env_to_cygenv: 0x600029790: PROCESSOR_REVISION=9e09
  174   31624 [main] getfacl 3412 win32env_to_cygenv: 0x6000297B0: PROFILEREAD=true
  178   31802 [main] getfacl 3412 win32env_to_cygenv: 0x6000297D0: PROGRAMFILES=C:\Program Files
  172   31974 [main] getfacl 3412 win32env_to_cygenv: 0x600029800: PS1=\[\e]0;\w\a\]\n\[\e[32m\]\u@\h \[\e[33m\]\w\[\e[0m\]\n\$
  211   32185 [main] getfacl 3412 win32env_to_cygenv: 0x600029850: PSModulePath=C:\Program Files\WindowsPowerShell\Modules;C:\WINDOWS\system32\WindowsPowerShell\v1.0\Modules
  184   32369 [main] getfacl 3412 win32env_to_cygenv: 0x6000298D0: PUBLIC=C:\Users\Public
  192   32561 [main] getfacl 3412 win32env_to_cygenv: 0x6000298F0: PWD=/mnt
  174   32735 [main] getfacl 3412 win32env_to_cygenv: 0x600029910: ProgramData=C:\ProgramData
  174   32909 [main] getfacl 3412 win32env_to_cygenv: 0x600029940: ProgramFiles(x86)=C:\Program Files (x86)
  188   33097 [main] getfacl 3412 win32env_to_cygenv: 0x600029980: ProgramW6432=C:\Program Files
  174   33271 [main] getfacl 3412 win32env_to_cygenv: 0x6000299B0: RANDFILE=C:\Program Files (x86)\NTP\etc\.rnd
  172   33443 [main] getfacl 3412 win32env_to_cygenv: 0x6000299F0: SESSIONNAME=Console
  173   33616 [main] getfacl 3412 win32env_to_cygenv: 0x600029A10: SHELL=/bin/bash
  196   33812 [main] getfacl 3412 win32env_to_cygenv: 0x600029A30: SHLVL=1
  223   34035 [main] getfacl 3412 win32env_to_cygenv: 0x600029A50: SYSTEMDRIVE=C:
  173   34208 [main] getfacl 3412 win32env_to_cygenv: 0x600029A70: SYSTEMROOT=C:\WINDOWS
  125   34333 [main] getfacl 3412 getwinenv: can't set native for TEMP= since no environ yet
  107   34440 [main] getfacl 3412 mount_info::conv_to_posix_path: conv_to_posix_path (C:\Cygwin64\tmp, 0x10000000, no-add-slash)
   99   34539 [main] getfacl 3412 normalize_win32_path: C:\Cygwin64\tmp = normalize_win32_path (C:\Cygwin64\tmp)
   27   34566 [main] getfacl 3412 mount_info::conv_to_posix_path: /tmp = conv_to_posix_path (C:\Cygwin64\tmp)
  279   34845 [main] getfacl 3412 win_env::add_cache: posix /tmp
   19   34864 [main] getfacl 3412 win_env::add_cache: native TEMP=C:\Cygwin64\tmp
   21   34885 [main] getfacl 3412 posify_maybe: env var converted to TEMP=/tmp
   60   34945 [main] getfacl 3412 win32env_to_cygenv: 0x600029AF0: TEMP=/tmp
   39   34984 [main] getfacl 3412 win32env_to_cygenv: 0x600029A90: TERM=xterm
  214   35198 [main] getfacl 3412 getwinenv: can't set native for TMP= since no environ yet
   26   35224 [main] getfacl 3412 mount_info::conv_to_posix_path: conv_to_posix_path (C:\Cygwin64\tmp, 0x10000000, no-add-slash)
   93   35317 [main] getfacl 3412 normalize_win32_path: C:\Cygwin64\tmp = normalize_win32_path (C:\Cygwin64\tmp)
   98   35415 [main] getfacl 3412 mount_info::conv_to_posix_path: /tmp = conv_to_posix_path (C:\Cygwin64\tmp)
  290   35705 [main] getfacl 3412 win_env::add_cache: posix /tmp
   88   35793 [main] getfacl 3412 win_env::add_cache: native TMP=C:\Cygwin64\tmp
   21   35814 [main] getfacl 3412 posify_maybe: env var converted to TMP=/tmp
   68   35882 [main] getfacl 3412 win32env_to_cygenv: 0x600029B70: TMP=/tmp
   46   35928 [main] getfacl 3412 win32env_to_cygenv: 0x600029B10: TZ=America/New_York
   43   35971 [main] getfacl 3412 win32env_to_cygenv: 0x600029B90: UATDATA=C:\WINDOWS\CCM\UATData\D9F8C395-CAB8-491d-B8AC-179A1FE1BE77
  121   36092 [main] getfacl 3412 win32env_to_cygenv: 0x600029BE0: USER=lavr
  286   36378 [main] getfacl 3412 win32env_to_cygenv: 0x600029C00: USERDNSDOMAIN=NCBI.NLM.NIH.GOV
  175   36553 [main] getfacl 3412 win32env_to_cygenv: 0x600029C30: USERDOMAIN=NCBI_NT
  217   36770 [main] getfacl 3412 win32env_to_cygenv: 0x600029C50: USERDOMAIN_ROAMINGPROFILE=NCBI_NT
  364   37134 [main] getfacl 3412 win32env_to_cygenv: 0x600029C80: USERNAME=lavr
  244   37378 [main] getfacl 3412 win32env_to_cygenv: 0x600029CA0: USERPROFILE=C:\Users\lavr
  182   37560 [main] getfacl 3412 win32env_to_cygenv: 0x600029CD0: VDB_CONFIG=//snowman/trace_software/vdb/config://snowman/trace_software/vdb/win/config
   46   37606 [main] getfacl 3412 win32env_to_cygenv: 0x60003B500: VS140COMNTOOLS=C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\Tools\
   59   37665 [main] getfacl 3412 win32env_to_cygenv: 0x60003B560: VS2017INSTALLDIR=C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional
  118   37783 [main] getfacl 3412 win32env_to_cygenv: 0x60003B5C0: VTUNE_AMPLIFIER_2018_DIR=C:\Program Files (x86)\IntelSWTools\VTune Amplifier 2018\
  307   38090 [main] getfacl 3412 win32env_to_cygenv: 0x60003B620: VTUNE_AMPLIFIER_2019_DIR=C:\Program Files (x86)\IntelSWTools\VTune Amplifier 2019\
   51   38141 [main] getfacl 3412 win32env_to_cygenv: 0x600029D30: WINDIR=C:\WINDOWS
  114   38255 [main] getfacl 3412 win32env_to_cygenv: 0x600029D50: _=/usr/bin/strace
  236   38491 [main] getfacl 3412 pinfo_init: Set nice to 0
   24   38515 [main] getfacl 3412 pinfo_init: pid 3412, pgid 3412, process_state 0x41
   67   38582 [main] getfacl 3412 App version:  2011.2, api: 0.329
   24   38606 [main] getfacl 3412 DLL version:  2011.2, api: 0.329
   44   38650 [main] getfacl 3412 DLL build:    2018-11-08 14:34
  229   38879 [main] getfacl 3412 dtable::extend: size 32, fds 0x180323E48
  218   39097 [main] getfacl 3412 __get_lcid_from_locale: LCID=0x0409
  724   39821 [main] getfacl 3412 transport_layer_pipes::connect: Try to connect to named pipe: \\.\pipe\cygwin-e022582115c10879-lpc
  448   40269 [main] getfacl 3412 transport_layer_pipes::connect: Try to connect to named pipe: \\.\pipe\cygwin-e022582115c10879-lpc
  299   40568 [main] getfacl 3412 transport_layer_pipes::connect: Try to connect to named pipe: \\.\pipe\cygwin-e022582115c10879-lpc
  402   40970 [main] getfacl 3412 cygheap_user::ontherange: what 2, pw 0x180324068
   29   40999 [main] getfacl 3412 cygheap_user::ontherange: HOME is already in the environment /home/lavr
  151   41150 [main] getfacl 3412 build_argv: argv[0] = 'getfacl'
  279   41429 [main] getfacl 3412 build_argv: argv[1] = '/cygdrive/z'
   24   41453 [main] getfacl 3412 build_argv: argc 2
  174   41627 [main] getfacl 3412 build_fh_pc: created an archetype (0x1803250C8) for /dev/pty1(136/1)
   23   41650 [main] getfacl 3412 build_fh_pc: fh 0x180324D58, dev 00880001
  194   41844 [main] getfacl 3412 fhandler_pipe::create: name \\.\pipe\cygwin-e022582115c10879-pty1-from-master, size 131072, mode PIPE_TYPE_MESSAGE
  141   41985 [main] getfacl 3412 fhandler_pipe::create: pipe busy
  114   42099 [main] getfacl 3412 tty::exists: exists 1
  163   42262 [main] getfacl 3412 set_posix_access: ACL-Size: 124
   44   42306 [main] getfacl 3412 set_posix_access: Created SD-Size: 200
   24   42330 [main] getfacl 3412 fhandler_pty_slave::open: (393): pty output_mutex (0x118): waiting -1 ms
   27   42357 [main] getfacl 3412 fhandler_pty_slave::open: (393): pty output_mutex: acquired
   29   42386 [main] getfacl 3412 tty::create_inuse: cygtty.slave_alive.1 0x124
   22   42408 [main] getfacl 3412 fhandler_pty_slave::open: (396): pty output_mutex(0x118) released
  214   42622 [main] getfacl 3412 open_shared: name cygpid.18084, n 18084, shared 0x20000 (wanted 0x0), h 0x128, *m 6
   89   42711 [main] getfacl 3412 fhandler_pty_slave::open: dup handles directly since I'm the owner
   40   42751 [main] getfacl 3412 fhandler_pty_slave::open: duplicated from_master 0x3E4->0x128 from pty_owner
   24   42775 [main] getfacl 3412 fhandler_pty_slave::open: duplicated to_master 0x3F0->0x10C from pty_owner
   22   42797 [main] getfacl 3412 fhandler_pty_slave::open: duplicated to_master_cyg 0x3F8->0x12C from pty_owner
   46   42843 [main] getfacl 3412 fhandler_console::need_invisible: invisible_console 0
   30   42873 [main] getfacl 3412 fhandler_base::open_with_arch: line 458:  /dev/pty1<0x1803250C8> usecount + 1 = 1
   33   42906 [main] getfacl 3412 fhandler_base::set_flags: flags 0x10002, supplied_bin 0x0
  167   43073 [main] getfacl 3412 fhandler_base::set_flags: O_TEXT/O_BINARY set in flags 0x10000
  104   43177 [main] getfacl 3412 fhandler_base::set_flags: filemode set to binary
  107   43284 [main] getfacl 3412 _pinfo::set_ctty: old no ctty, ctty device number 0xFFFFFFFF, tc.ntty device number 0x880001 flags & O_NOCTTY 0x0
  101   43385 [main] getfacl 3412 _pinfo::set_ctty: cygheap->ctty 0x0, archetype 0x1803250C8
  106   43491 [main] getfacl 3412 _pinfo::set_ctty: ctty was NULL
  111   43602 [main] getfacl 3412 _pinfo::set_ctty: line 497:  /dev/pty1<0x1803250C8> usecount + 1 = 2
  105   43707 [main] getfacl 3412 _pinfo::set_ctty: /dev/pty1 ctty, usecount 2
  100   43807 [main] getfacl 3412 _pinfo::set_ctty: attaching ctty /dev/pty1 sid 3412, pid 3412, pgid 3412, tty->pgid 1968, tty->sid 8588
  137   43944 [main] getfacl 3412 _pinfo::set_ctty: cygheap->ctty now 0x1803250C8, archetype 0x1803250C8
  141   44085 [main] getfacl 3412 fhandler_pty_slave::open_setup: /dev/pty1 opened, usecount 2
  122   44207 [main] getfacl 3412 fhandler_base::set_flags: flags 0x10002, supplied_bin 0x0
  101   44308 [main] getfacl 3412 fhandler_base::set_flags: O_TEXT/O_BINARY set in flags 0x10000
   86   44394 [main] getfacl 3412 fhandler_base::set_flags: filemode set to binary
   88   44482 [main] getfacl 3412 _pinfo::set_ctty: old ctty /dev/pty1, ctty device number 0x880001, tc.ntty device number 0x880001 flags & O_NOCTTY 0x0
  104   44586 [main] getfacl 3412 _pinfo::set_ctty: attaching ctty /dev/pty1 sid 8588, pid 3412, pgid 1968, tty->pgid 1968, tty->sid 8588
  102   44688 [main] getfacl 3412 _pinfo::set_ctty: cygheap->ctty now 0x1803250C8, archetype 0x1803250C8
  104   44792 [main] getfacl 3412 fhandler_pty_slave::open_setup: /dev/pty1 opened, usecount 2
  256   45048 [main] getfacl 3412 build_fh_pc: found an archetype for (null)(136/1) io_handle 0x128
   23   45071 [main] getfacl 3412 build_fh_pc: fh 0x1803254A8, dev 00880001
   28   45099 [main] getfacl 3412 fhandler_base::open_with_arch: line 478:  /dev/pty1<0x1803250C8> usecount + 1 = 3
   22   45121 [main] getfacl 3412 fhandler_base::set_flags: flags 0x10002, supplied_bin 0x0
   23   45144 [main] getfacl 3412 fhandler_base::set_flags: O_TEXT/O_BINARY set in flags 0x10000
   22   45166 [main] getfacl 3412 fhandler_base::set_flags: filemode set to binary
   23   45189 [main] getfacl 3412 _pinfo::set_ctty: old ctty /dev/pty1, ctty device number 0x880001, tc.ntty device number 0x880001 flags & O_NOCTTY 0x0
   25   45214 [main] getfacl 3412 _pinfo::set_ctty: attaching ctty /dev/pty1 sid 8588, pid 3412, pgid 1968, tty->pgid 1968, tty->sid 8588
   24   45238 [main] getfacl 3412 _pinfo::set_ctty: cygheap->ctty now 0x1803250C8, archetype 0x1803250C8
   23   45261 [main] getfacl 3412 fhandler_pty_slave::open_setup: /dev/pty1 opened, usecount 3
   25   45286 [main] getfacl 3412 fhandler_base::set_flags: flags 0x10002, supplied_bin 0x0
   20   45306 [main] getfacl 3412 fhandler_base::set_flags: O_TEXT/O_BINARY set in flags 0x10000
   30   45336 [main] getfacl 3412 fhandler_base::set_flags: filemode set to binary
   23   45359 [main] getfacl 3412 _pinfo::set_ctty: old ctty /dev/pty1, ctty device number 0x880001, tc.ntty device number 0x880001 flags & O_NOCTTY 0x0
   24   45383 [main] getfacl 3412 _pinfo::set_ctty: attaching ctty /dev/pty1 sid 8588, pid 3412, pgid 1968, tty->pgid 1968, tty->sid 8588
   24   45407 [main] getfacl 3412 _pinfo::set_ctty: cygheap->ctty now 0x1803250C8, archetype 0x1803250C8
   22   45429 [main] getfacl 3412 fhandler_pty_slave::open_setup: /dev/pty1 opened, usecount 3
   72   45501 [main] getfacl 3412 build_fh_pc: found an archetype for (null)(136/1) io_handle 0x128
   22   45523 [main] getfacl 3412 build_fh_pc: fh 0x180325818, dev 00880001
   25   45548 [main] getfacl 3412 fhandler_base::open_with_arch: line 478:  /dev/pty1<0x1803250C8> usecount + 1 = 4
   23   45571 [main] getfacl 3412 fhandler_base::set_flags: flags 0x10002, supplied_bin 0x0
   22   45593 [main] getfacl 3412 fhandler_base::set_flags: O_TEXT/O_BINARY set in flags 0x10000
   22   45615 [main] getfacl 3412 fhandler_base::set_flags: filemode set to binary
   22   45637 [main] getfacl 3412 _pinfo::set_ctty: old ctty /dev/pty1, ctty device number 0x880001, tc.ntty device number 0x880001 flags & O_NOCTTY 0x0
   24   45661 [main] getfacl 3412 _pinfo::set_ctty: attaching ctty /dev/pty1 sid 8588, pid 3412, pgid 1968, tty->pgid 1968, tty->sid 8588
   22   45683 [main] getfacl 3412 _pinfo::set_ctty: cygheap->ctty now 0x1803250C8, archetype 0x1803250C8
   22   45705 [main] getfacl 3412 fhandler_pty_slave::open_setup: /dev/pty1 opened, usecount 4
   24   45729 [main] getfacl 3412 fhandler_base::set_flags: flags 0x10002, supplied_bin 0x0
   22   45751 [main] getfacl 3412 fhandler_base::set_flags: O_TEXT/O_BINARY set in flags 0x10000
   22   45773 [main] getfacl 3412 fhandler_base::set_flags: filemode set to binary
   23   45796 [main] getfacl 3412 _pinfo::set_ctty: old ctty /dev/pty1, ctty device number 0x880001, tc.ntty device number 0x880001 flags & O_NOCTTY 0x0
   24   45820 [main] getfacl 3412 _pinfo::set_ctty: attaching ctty /dev/pty1 sid 8588, pid 3412, pgid 1968, tty->pgid 1968, tty->sid 8588
   23   45843 [main] getfacl 3412 _pinfo::set_ctty: cygheap->ctty now 0x1803250C8, archetype 0x1803250C8
   22   45865 [main] getfacl 3412 fhandler_pty_slave::open_setup: /dev/pty1 opened, usecount 4
   57   45922 [main] getfacl 3412 __set_errno: void dll_crt0_1(void*):979 setting errno 0
  450   46372 [main] getfacl 3412 isatty: 1 = isatty(1)
   31   46403 [main] getfacl 3412 stat64: entering
   25   46428 [main] getfacl 3412 normalize_posix_path: src /cygdrive/z
   22   46450 [main] getfacl 3412 normalize_posix_path: /cygdrive/z = normalize_posix_path (/cygdrive/z)
   21   46471 [main] getfacl 3412 mount_info::conv_to_win32_path: conv_to_win32_path (/cygdrive/z)
   26   46497 [main] getfacl 3412 mount_info::cygdrive_win32_path: src '/cygdrive/z', dst 'Z:\'
   24   46521 [main] getfacl 3412 set_flags: flags: binary (0x2)
   22   46543 [main] getfacl 3412 mount_info::conv_to_win32_path: src_path /cygdrive/z, dst Z:\, flags 0x4022, rc 0
  937   47480 [main] getfacl 3412 symlink_info::check: 0xC000004F = NtCreateFile (\??\Z:\)
 1115   48595 [main] getfacl 3412 symlink_info::check: 0x0 = NtOpenFile (no-EAs \??\Z:\)
 1385   49980 [main] getfacl 3412 symlink_info::check: not a symlink
   24   50004 [main] getfacl 3412 symlink_info::check: 0 = symlink.check(Z:\, 0xFFFFB8D0) (0x404022)
   25   50029 [main] getfacl 3412 path_conv::check: this->path(Z:\), has_acls(1)
   29   50058 [main] getfacl 3412 build_fh_pc: fh 0x180325B88, dev 000000C3
   28   50086 [main] getfacl 3412 stat_worker: (\??\Z:\, 0xFFFFCB30, 0x180325B88), file_attributes 16
--- Process 3412 thread 19720 created
 1209   51295 [ldap_init] getfacl 3412 cygthread::stub: thread 'ldap_init', id 0x4D08, stack_ptr 0xFCCCD0
--- Process 3412 loaded C:\Windows\System32\Wldap32.dll at 00007ffcde930000
--- Process 3412 loaded C:\Windows\System32\ucrtbase.dll at 00007ffcdbae0000
--- Process 3412 loaded C:\Windows\System32\ws2_32.dll at 00007ffcde510000
--- Process 3412 loaded C:\Windows\System32\mswsock.dll at 00007ffcda600000
--- Process 3412 loaded C:\Windows\System32\sspicli.dll at 00007ffcdac80000
--- Process 3412 loaded C:\Windows\System32\logoncli.dll at 00007ffcd56b0000
--- Process 3412 loaded C:\Windows\System32\netutils.dll at 00007ffcda490000
--- Process 3412 thread 1964 created
--- Process 3412 loaded C:\Windows\System32\dsparse.dll at 00007ffcd0de0000
--- Process 3412 loaded C:\Windows\System32\kerberos.dll at 00007ffcda6c0000
--- Process 3412 loaded C:\Windows\System32\msasn1.dll at 00007ffcdae20000
--- Process 3412 loaded C:\Windows\System32\cryptdll.dll at 00007ffcda670000
--- Process 3412 loaded C:\Windows\System32\bcrypt.dll at 00007ffcda8e0000
29984   81279 [main] getfacl 3412 transport_layer_pipes::connect: Try to connect to named pipe: \\.\pipe\cygwin-e022582115c10879-lpc
  832   82111 [main] getfacl 3412 fhandler_base::fstat_helper: 0 = fstat (\??\Z:\, 0xFFFFCB30) st_size=0, st_mode=040755, st_ino=4718627st_atim=5D53FCAD.3A2C2D44 st_ctim=5D52AB1E.30674D0C st_mtim=5D52AB1E.30674D0C st_birthtim=5D52AB1E.30674D0C
   33   82144 [main] getfacl 3412 stat_worker: 0 = (\??\Z:\,0xFFFFCB30)
 1240   83384 [main] getfacl 3412 normalize_posix_path: src /cygdrive/z
   24   83408 [main] getfacl 3412 normalize_posix_path: /cygdrive/z = normalize_posix_path (/cygdrive/z)
   90   83498 [main] getfacl 3412 mount_info::conv_to_win32_path: conv_to_win32_path (/cygdrive/z)
   26   83524 [main] getfacl 3412 mount_info::cygdrive_win32_path: src '/cygdrive/z', dst 'Z:\'
   25   83549 [main] getfacl 3412 set_flags: flags: binary (0x2)
   24   83573 [main] getfacl 3412 mount_info::conv_to_win32_path: src_path /cygdrive/z, dst Z:\, flags 0x4022, rc 0
 1141   84714 [main] getfacl 3412 symlink_info::check: 0xC000004F = NtCreateFile (\??\Z:\)
 1428   86142 [main] getfacl 3412 symlink_info::check: 0x0 = NtOpenFile (no-EAs \??\Z:\)
  645   86787 [main] getfacl 3412 symlink_info::check: not a symlink
  713   87500 [main] getfacl 3412 symlink_info::check: 0 = symlink.check(Z:\, 0xFFFFB840) (0x4022)
   25   87525 [main] getfacl 3412 path_conv::check: this->path(Z:\), has_acls(1)
   31   87556 [main] getfacl 3412 build_fh_pc: fh 0x180325B88, dev 000000C3
   28   87584 [main] getfacl 3412 fhandler_base::open: (\??\Z:\, 0x110000)
 1139   88723 [main] getfacl 3412 fhandler_base::set_flags: flags 0x110000, supplied_bin 0x10000
   23   88746 [main] getfacl 3412 fhandler_base::set_flags: O_TEXT/O_BINARY set in flags 0x10000
   22   88768 [main] getfacl 3412 fhandler_base::set_flags: filemode set to binary
   21   88789 [main] getfacl 3412 fhandler_base::open: 0x0 = NtCreateFile (0x1AC, 0x20000, \??\Z:\, io, NULL, 0x0, 0x7, 0x1, 0x4000, NULL, 0)
   24   88813 [main] getfacl 3412 fhandler_base::open: 1 = fhandler_base::open(\??\Z:\, 0x110000)
   22   88835 [main] getfacl 3412 fhandler_base::open_fs: 1 = fhandler_disk_file::open(\??\Z:\, 0x10000)
  664   89499 [main] getfacl 3412 getacl: 3 = getacl(\??\Z:\)
   84   89583 [main] getfacl 3412 fhandler_base::close: closing '/cygdrive/z' handle 0x1AC
  616   90199 [main] getfacl 3412 normalize_posix_path: src /cygdrive/z
   23   90222 [main] getfacl 3412 normalize_posix_path: /cygdrive/z = normalize_posix_path (/cygdrive/z)
   23   90245 [main] getfacl 3412 mount_info::conv_to_win32_path: conv_to_win32_path (/cygdrive/z)
   23   90268 [main] getfacl 3412 mount_info::cygdrive_win32_path: src '/cygdrive/z', dst 'Z:\'
   20   90288 [main] getfacl 3412 set_flags: flags: binary (0x2)
   21   90309 [main] getfacl 3412 mount_info::conv_to_win32_path: src_path /cygdrive/z, dst Z:\, flags 0x4022, rc 0
  633   90942 [main] getfacl 3412 symlink_info::check: 0xC000004F = NtCreateFile (\??\Z:\)
  856   91798 [main] getfacl 3412 symlink_info::check: 0x0 = NtOpenFile (no-EAs \??\Z:\)
  478   92276 [main] getfacl 3412 symlink_info::check: not a symlink
  544   92820 [main] getfacl 3412 symlink_info::check: 0 = symlink.check(Z:\, 0xFFFFB840) (0x4022)
   29   92849 [main] getfacl 3412 path_conv::check: this->path(Z:\), has_acls(1)
   30   92879 [main] getfacl 3412 build_fh_pc: fh 0x180325B88, dev 000000C3
   25   92904 [main] getfacl 3412 fhandler_base::open: (\??\Z:\, 0x110000)
  966   93870 [main] getfacl 3412 fhandler_base::set_flags: flags 0x110000, supplied_bin 0x10000
   25   93895 [main] getfacl 3412 fhandler_base::set_flags: O_TEXT/O_BINARY set in flags 0x10000
   21   93916 [main] getfacl 3412 fhandler_base::set_flags: filemode set to binary
   22   93938 [main] getfacl 3412 fhandler_base::open: 0x0 = NtCreateFile (0x1AC, 0x20000, \??\Z:\, io, NULL, 0x0, 0x7, 0x1, 0x4000, NULL, 0)
   23   93961 [main] getfacl 3412 fhandler_base::open: 1 = fhandler_base::open(\??\Z:\, 0x110000)
   22   93983 [main] getfacl 3412 fhandler_base::open_fs: 1 = fhandler_disk_file::open(\??\Z:\, 0x10000)
  552   94535 [main] getfacl 3412 getacl: 3 = getacl(\??\Z:\)
   79   94614 [main] getfacl 3412 fhandler_base::close: closing '/cygdrive/z' handle 0x1AC
  669   95283 [main] getfacl 3412 time: 1565789069 = time(0x0)
   65   95348 [main] getfacl 3412 transport_layer_pipes::connect: Try to connect to named pipe: \\.\pipe\cygwin-e022582115c10879-lpc
  123   95471 [main] getfacl 3412 stat64: entering
   22   95493 [main] getfacl 3412 normalize_posix_path: src /dev
   21   95514 [main] getfacl 3412 normalize_posix_path: /dev = normalize_posix_path (/dev)
   23   95537 [main] getfacl 3412 mount_info::conv_to_win32_path: conv_to_win32_path (/dev)
   22   95559 [main] getfacl 3412 set_flags: flags: binary (0x2)
   21   95580 [main] getfacl 3412 mount_info::conv_to_win32_path: src_path /dev, dst C:\Cygwin64\dev, flags 0x3000A, rc 0
  121   95701 [main] getfacl 3412 symlink_info::check: 0x0 = NtCreateFile (\??\C:\Cygwin64\dev)
   37   95738 [main] getfacl 3412 symlink_info::check: not a symlink
   20   95758 [main] getfacl 3412 symlink_info::check: 0 = symlink.check(C:\Cygwin64\dev, 0xFFFFB2A0) (0x43000A)
   32   95790 [main] getfacl 3412 build_fh_pc: fh 0x180325B88, dev 000000C1
   20   95810 [main] getfacl 3412 stat_worker: (\??\C:\Cygwin64\dev, 0x1802FBAC0, 0x180325B88), file_attributes 16
   74   95884 [main] getfacl 3412 transport_layer_pipes::connect: Try to connect to named pipe: \\.\pipe\cygwin-e022582115c10879-lpc
  102   95986 [main] getfacl 3412 fhandler_base::fstat_helper: 0 = fstat (\??\C:\Cygwin64\dev, 0x1802FBAC0) st_size=0, st_mode=040775, st_ino=281474978099101st_atim=597252B5.21621FD0 st_ctim=5BDB559B.1735340C st_mtim=597252B5.21621FD0 st_birthtim=597251AB.27521594
   25   96011 [main] getfacl 3412 stat_worker: 0 = (\??\C:\Cygwin64\dev,0x1802FBAC0)
   49   96060 [main] getfacl 3412 fstat64: 0 = fstat(1, 0xFFFFC5E0)
  169   96229 [main] getfacl 3412 isatty: 1 = isatty(1)
# file: /cygdrive/z
   98   96327 [main] getfacl 3412 fhandler_pty_slave::write: pty1, write(0x60003B810, 20)
   21   96348 [main] getfacl 3412 fhandler_pty_common::process_opost_output: (1902): pty output_mutex (0x118): waiting -1 ms
   22   96370 [main] getfacl 3412 fhandler_pty_common::process_opost_output: (1902): pty output_mutex: acquired
   22   96392 [main] getfacl 3412 fhandler_pty_common::process_opost_output: (1941): pty output_mutex(0x118) released
   28   96420 [main] getfacl 3412 write: 20 = write(1, 0x60003B810, 20)
  218   96638 [main] getfacl 3412 fhandler_pty_slave::write: pty1, write(0x60003B810, 14)
  113   96751 [main] getfacl 3412 fhandler_pty_common::process_opost_output: (1902): pty output_mutex (0x118): waiting -1 ms
   28   96779 [main] getfacl 3412 fhandler_pty_common::process_opost_output: (1902): pty output_mutex: acquired
   31   96810 [main] getfacl 3412 fhandler_pty_common::process_opost_output: (1941): pty output_mutex(0x118) released
# owner: lavr
   39   96849 [main] getfacl 3412 write: 14 = write(1, 0x60003B810, 14)
  254   97103 [main] getfacl 3412 fhandler_pty_slave::write: pty1, write(0x60003B810, 17)
   23   97126 [main] getfacl 3412 fhandler_pty_common::process_opost_output: (1902): pty output_mutex (0x118): waiting -1 ms
   26   97152 [main] getfacl 3412 fhandler_pty_common::process_opost_output: (1902): pty output_mutex: acquired
   25   97177 [main] getfacl 3412 fhandler_pty_common::process_opost_output: (1941): pty output_mutex(0x118) released
# group: cppcore
   26   97203 [main] getfacl 3412 write: 17 = write(1, 0x60003B810, 17)
  244   97447 [main] getfacl 3412 fhandler_pty_slave::write: pty1, write(0x60003B810, 10)
   28   97475 [main] getfacl 3412 fhandler_pty_common::process_opost_output: (1902): pty output_mutex (0x118): waiting -1 ms
   24   97499 [main] getfacl 3412 fhandler_pty_common::process_opost_output: (1902): pty output_mutex: acquired
   25   97524 [main] getfacl 3412 fhandler_pty_common::process_opost_output: (1941): pty output_mutex(0x118) released
user::rwx
   23   97547 [main] getfacl 3412 write: 10 = write(1, 0x60003B810, 10)
  112   97659 [main] getfacl 3412 fhandler_pty_slave::write: pty1, write(0x60003B810, 11)
   23   97682 [main] getfacl 3412 fhandler_pty_common::process_opost_output: (1902): pty output_mutex (0x118): waiting -1 ms
   31   97713 [main] getfacl 3412 fhandler_pty_common::process_opost_output: (1902): pty output_mutex: acquired
   24   97737 [main] getfacl 3412 fhandler_pty_common::process_opost_output: (1941): pty output_mutex(0x118) released
group::r-x
   30   97767 [main] getfacl 3412 write: 11 = write(1, 0x60003B810, 11)
  127   97894 [main] getfacl 3412 fhandler_pty_slave::write: pty1, write(0x60003B810, 11)
  176   98070 [main] getfacl 3412 fhandler_pty_common::process_opost_output: (1902): pty output_mutex (0x118): waiting -1 ms
   24   98094 [main] getfacl 3412 fhandler_pty_common::process_opost_output: (1902): pty output_mutex: acquired
   34   98128 [main] getfacl 3412 fhandler_pty_common::process_opost_output: (1941): pty output_mutex(0x118) released
other::r-x
  133   98261 [main] getfacl 3412 write: 11 = write(1, 0x60003B810, 11)
  249   98510 [main] getfacl 3412 __set_errno: char* __acltotext(aclent_t*, int, const char*, char, int):1644 setting errno 22
  335   98845 [main] getfacl 3412 fhandler_pty_slave::write: pty1, write(0xFFFFCC60, 7)
   25   98870 [main] getfacl 3412 fhandler_pty_common::process_opost_output: (1902): pty output_mutex (0x118): waiting -1 ms
  142   99012 [main] getfacl 3412 fhandler_pty_common::process_opost_output: (1902): pty output_mutex: acquired
   29   99041 [main] getfacl 3412 fhandler_pty_common::process_opost_output: (1941): pty output_mutex(0x118) released
getfacl   28   99069 [main] getfacl 3412 write: 7 = write(2, 0xFFFFCC60, 7)
   49   99118 [main] getfacl 3412 fhandler_pty_slave::write: pty1, write(0x10040372D, 2)
   25   99143 [main] getfacl 3412 fhandler_pty_common::process_opost_output: (1902): pty output_mutex (0x118): waiting -1 ms
:    25   99168 [main] getfacl 3412 fhandler_pty_common::process_opost_output: (1902): pty output_mutex: acquired
/cygdrive/z   22   99190 [main] getfacl 3412 fhandler_pty_common::process_opost_output: (1941): pty output_mutex(0x118) released
   23   99213 [main] getfacl 3412 write: 2 = write(2, 0x10040372D, 2)
   37   99250 [main] getfacl 3412 fhandler_pty_slave::write: pty1, write(0xFFFFCC68, 11)
   20   99270 [main] getfacl 3412 fhandler_pty_common::process_opost_output: (1902): pty output_mutex (0x118): waiting -1 ms
   21   99291 [main] getfacl 3412 fhandler_pty_common::process_opost_output: (1902): pty output_mutex: acquired
   29   99320 [main] getfacl 3412 fhandler_pty_common::process_opost_output: (1941): pty output_mutex(0x118) released
   25   99345 [main] getfacl 3412 write: 11 = write(2, 0xFFFFCC68, 11)
   50   99395 [main] getfacl 3412 fhandler_pty_slave::write: pty1, write(0x100403731, 2)
   22   99417 [main] getfacl 3412 fhandler_pty_common::process_opost_output: (1902): pty output_mutex (0x118): waiting -1 ms
   23   99440 [main] getfacl 3412 fhandler_pty_common::process_opost_output: (1902): pty output_mutex: acquired
   24   99464 [main] getfacl 3412 fhandler_pty_common::process_opost_output: (1941): pty output_mutex(0x118) released
:    26   99490 [main] getfacl 3412 write: 2 = write(2, 0x100403731, 2)
  187   99677 [main] getfacl 3412 fhandler_pty_slave::write: pty1, write(0x18023F080, 16)
   28   99705 [main] getfacl 3412 fhandler_pty_common::process_opost_output: (1902): pty output_mutex (0x118): waiting -1 ms
   29   99734 [main] getfacl 3412 fhandler_pty_common::process_opost_output: (1902): pty output_mutex: acquired
   25   99759 [main] getfacl 3412 fhandler_pty_common::process_opost_output: (1941): pty output_mutex(0x118) released
Invalid argument   23   99782 [main] getfacl 3412 write: 16 = write(2, 0x18023F080, 16)
   47   99829 [main] getfacl 3412 fhandler_pty_slave::write: pty1, write(0x100403735, 2)
   25   99854 [main] getfacl 3412 fhandler_pty_common::process_opost_output: (1902): pty output_mutex (0x118): waiting -1 ms
   25   99879 [main] getfacl 3412 fhandler_pty_common::process_opost_output: (1902): pty output_mutex: acquired
   24   99903 [main] getfacl 3412 fhandler_pty_common::process_opost_output: (1941): pty output_mutex(0x118) released


   26   99929 [main] getfacl 3412 write: 2 = write(2, 0x100403735, 2)
  152  100081 [main] getfacl 3412 do_exit: do_exit (512), exit_state 1
   21  100102 [main] getfacl 3412 void: 0x0 = signal (20, 0x1)
   22  100124 [main] getfacl 3412 void: 0x0 = signal (1, 0x1)
   73  100197 [main] getfacl 3412 void: 0x0 = signal (2, 0x1)
   23  100220 [main] getfacl 3412 void: 0x0 = signal (3, 0x1)
   29  100249 [main] getfacl 3412 fhandler_base::close_with_arch: line 1132:  /dev/pty1<0x1803250C8> usecount + -1 = 3
   31  100280 [main] getfacl 3412 fhandler_base::close_with_arch: not closing archetype
   25  100305 [main] getfacl 3412 fhandler_base::close_with_arch: line 1132:  /dev/pty1<0x1803250C8> usecount + -1 = 2
   34  100339 [main] getfacl 3412 fhandler_base::close_with_arch: not closing archetype
   28  100367 [main] getfacl 3412 fhandler_base::close_with_arch: line 1132:  /dev/pty1<0x1803250C8> usecount + -1 = 1
   22  100389 [main] getfacl 3412 fhandler_base::close_with_arch: not closing archetype
   22  100411 [main] getfacl 3412 init_cygheap::close_ctty: closing cygheap->ctty 0x1803250C8
   23  100434 [main] getfacl 3412 fhandler_base::close_with_arch: closing passed in archetype 0x0, usecount 0
  185  100619 [main] getfacl 3412 fhandler_pty_slave::cleanup: /dev/pty1 closed, usecount 0
   23  100642 [main] getfacl 3412 fhandler_pty_slave::close: closing last open /dev/pty1 handle
   48  100690 [main] getfacl 3412 fhandler_console::free_console: freed console, res 1
   24  100714 [main] getfacl 3412 fhandler_pty_common::close: pty1 <0x128,0x10C> closing
   29  100743 [main] getfacl 3412 dtable::delete_archetype: deleting element 0 for /dev/pty1(136/1)
   26  100769 [main] getfacl 3412 getpid: 3412 = getpid()
   75  100844 [main] getfacl 3412 proc_terminate: nprocs 0
   24  100868 [main] getfacl 3412 proc_terminate: leaving
   32  100900 [main] getfacl 3412 pinfo::exit: Calling ExitProcess n 0x200, exitcode 0x2
--- Process 3412 thread 1964 exited with status 0x2
--- Process 3412 thread 19720 exited with status 0x2
--- Process 3412 thread 2912 exited with status 0x2
--- Process 3412 thread 15020 exited with status 0x2
--- Process 3412 thread 2120 exited with status 0x2
--- Process 3412 exited with status 0x2


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

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

* Re: SMBFS mount's file cannot be made executable
  2019-08-14  4:24 Lavrentiev, Anton (NIH/NLM/NCBI) [C] via cygwin
@ 2019-08-14 11:22 ` Ken Brown
  2019-08-14 22:58   ` Brian Inglis
  0 siblings, 1 reply; 24+ messages in thread
From: Ken Brown @ 2019-08-14 11:22 UTC (permalink / raw)
  To: cygwin

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset="utf-8", Size: 1151 bytes --]

On 8/14/2019 12:23 AM, Lavrentiev, Anton (NIH/NLM/NCBI) [C] via cygwin wrote:
>> Have you checked the default ACL on the directory containing the file?
> 
> No, and there's nothing special there now that I checked.  I can change the "Read & Execute" for the .exe file from the Windows file properties
> without having to deal with anything special or additional (like inherited permissions), so I don't think the containing directory has anything
> to do with it.

I suspect the containing directory has a lot to do with it.  You shouldn't get 
an "Invalid argument" error below.

> $ getfacl /cygdrive/z
> # file: /cygdrive/z
> # owner: lavr
> # group: cppcore
> user::rwx
> group::r-x
> other::r-x
> getfacl: /cygdrive/z: Invalid argument

Running getfacl under strace might provide a clue as to what the problem is. 
You could also try running /usr/lib/csih/getVolInfo.exe on that directory.

Ken
\x03B‹KCB”\x1c›Ø›\x19[H\x1c™\^[ܝ\x1cΈ\b\b\b\b\b\b\x1a\x1d\x1d\x1c\x0e‹ËØÞYÝÚ[‹˜ÛÛKÜ\x1c›Ø›\x19[\Ëš\x1d^[[\x03B‘TNˆ\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\x1a\x1d\x1d\x1c\x0e‹ËØÞYÝÚ[‹˜ÛÛKÙ˜\KÃB‘^[ØÝ[Y[\x18]\x1a[ÛŽˆ\b\b\b\b\b\b\b\b\x1a\x1d\x1d\x1c\x0e‹ËØÞYÝÚ[‹˜ÛÛKÙ^[ØÜËš\x1d^[[\x03B•[œÝXœØÜšX™H\x1a[™›Îˆ\b\b\b\b\b\x1a\x1d\x1d\x1c\x0e‹ËØÞYÝÚ[‹˜ÛÛKÛ[\vÈÝ[œÝXœØÜšX™K\Ú[\^[\x19CBƒB

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

* Re: SMBFS mount's file cannot be made executable
@ 2019-08-14  4:24 Lavrentiev, Anton (NIH/NLM/NCBI) [C] via cygwin
  2019-08-14 11:22 ` Ken Brown
  0 siblings, 1 reply; 24+ messages in thread
From: Lavrentiev, Anton (NIH/NLM/NCBI) [C] via cygwin @ 2019-08-14  4:24 UTC (permalink / raw)
  To: 'cygwin@cygwin.com'

> Have you checked the default ACL on the directory containing the file?

No, and there's nothing special there now that I checked.  I can change the "Read & Execute" for the .exe file from the Windows file properties
without having to deal with anything special or additional (like inherited permissions), so I don't think the containing directory has anything
to do with it.

$ getfacl /cygdrive/z
# file: /cygdrive/z
# owner: lavr
# group: cppcore
user::rwx
group::r-x
other::r-x
getfacl: /cygdrive/z: Invalid argument

$ getfacl.exe /mnt
# file: /mnt
# owner: lavr
# group: cppcore
user::rwx
group::r-x
other::r-x
getfacl: /mnt: Invalid argument

(where /mnt is the same network share mounted with the "exec" option, see previous posts;  not sure what EINVAL means there in the output,
it does not appear for files -- seems to be only when directories are inquired)


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

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

* Re: SMBFS mount's file cannot be made executable
  2019-08-14  0:53 Lavrentiev, Anton (NIH/NLM/NCBI) [C] via cygwin
@ 2019-08-14  2:36 ` Ken Brown
  2019-08-14 16:59 ` Achim Gratz
  1 sibling, 0 replies; 24+ messages in thread
From: Ken Brown @ 2019-08-14  2:36 UTC (permalink / raw)
  To: cygwin

On 8/13/2019 8:53 PM, Lavrentiev, Anton (NIH/NLM/NCBI) [C] via cygwin wrote:
>> If it's related to the ACL handling then it should start working when
>> you remove the ACL on the file with 'setfacl -kb ...'
> 
> There are no special ACLs set on the file (that was just produced by GCC from the source code, see my first email).

Have you checked the default ACL on the directory containing the file?

Ken

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


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

* Re: SMBFS mount's file cannot be made executable
@ 2019-08-14  0:53 Lavrentiev, Anton (NIH/NLM/NCBI) [C] via cygwin
  2019-08-14  2:36 ` Ken Brown
  2019-08-14 16:59 ` Achim Gratz
  0 siblings, 2 replies; 24+ messages in thread
From: Lavrentiev, Anton (NIH/NLM/NCBI) [C] via cygwin @ 2019-08-14  0:53 UTC (permalink / raw)
  To: 'cygwin@cygwin.com'

> If it's related to the ACL handling then it should start working when
> you remove the ACL on the file with 'setfacl -kb ...'

There are no special ACLs set on the file (that was just produced by GCC from the source code, see my first email).

But I am now convinced that the problem is _entirely_ in Cygwin's corner:

When I open that file's the "Properties->Security" Windows tab, I can see that my permissions are "Read" and "Write", yet
"Read & Execute" is NOT checked.  When I check it, I see that the file becomes executable (the "x" bit) from both
Cygwin shell and on the Linux side, too.  And after that, I can execute the file from the Cygwin shell.

So what happens is that when "chmod" (or "creat" with a permission mask) is called, Cygwin does not honor the "x" bit(s) and does not convert it to
a corresponding proper ACL for the Windows mounted filesystem (and that ACL, in turn, would have been then sent to SMBD to get converted there back
to the "x" bit in the Unix world).  Once the "x" is there, Windows(via SMBD) obviously allows execution of the image.  Here's a related "bug":

https://forge.univention.org/bugzilla/show_bug.cgi?id=33785

I did not investigate in details how Cygwin handles the execute permission, but obviously there's something off.


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

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

* RE: SMBFS mount's file cannot be made executable
  2019-08-13 18:35     ` Andrey Repin
@ 2019-08-13 23:19       ` Lavrentiev, Anton (NIH/NLM/NCBI) [C] via cygwin
  2019-08-14 20:05         ` Andrey Repin
  0 siblings, 1 reply; 24+ messages in thread
From: Lavrentiev, Anton (NIH/NLM/NCBI) [C] via cygwin @ 2019-08-13 23:19 UTC (permalink / raw)
  To: cygwin

> What is your cygdrive mount options? Because default is, apparently, "binary,posix=0,user".

I have no idea where they are kept at, and how to change them.

Also, I couldn't make this work, anyways; yet I thought it should have worked:

> > $ mount -o exec //coredev2/home/lavr /mnt
> > $ mount
> > //coredev2/home/lavr on /mnt type smbfs (binary,exec,user)
> > ...
> > $ cd /mnt
> > $ pwd
> > /mnt
> > $ gcc a.c
> > $ ls -l a.exe
> > -rw-rw-r--+ 1 lavr cppcore 157753 Aug 13 08:20 a.exe
> > $ ./a.exe
> > -bash: ./a.exe: Permission denied


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

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

* Re: SMBFS mount's file cannot be made executable
  2019-08-13 12:27   ` Lavrentiev, Anton (NIH/NLM/NCBI) [C] via cygwin
  2019-08-13 18:34     ` Achim Gratz
@ 2019-08-13 18:35     ` Andrey Repin
  2019-08-13 23:19       ` Lavrentiev, Anton (NIH/NLM/NCBI) [C] via cygwin
  1 sibling, 1 reply; 24+ messages in thread
From: Andrey Repin @ 2019-08-13 18:35 UTC (permalink / raw)
  To: Lavrentiev, Anton (NIH/NLM/NCBI) [C], cygwin

Greetings, Lavrentiev, Anton (NIH/NLM/NCBI) [C]!

>> You need the "exec" mount option.

> I thought so too, but how do I give that option to a drive that is
> "noumount".  I cannot dis- or re-mount it AFAICT.

> $ mount
> ...
> Z: on /cygdrive/z type smbfs (binary,posix=0,user,noumount,auto)
> $ umount /cygdrive/z
> umount: /cygdrive/z: Invalid argument

/cygdrive is automount.
What is your cygdrive mount options? Because default is, apparently, "binary,posix=0,user".

> Also, I tried to mount the same path elsewhere, and with the "exec"
> options, and that wouldn't help, either:

> $ mount -o exec //coredev2/home/lavr /mnt
> $ mount
> //coredev2/home/lavr on /mnt type smbfs (binary,exec,user)
> ...
> $ cd /mnt
> $ pwd
> /mnt
> $ gcc a.c
> $ ls -l a.exe
> -rw-rw-r--+ 1 lavr cppcore 157753 Aug 13 08:20 a.exe
> $ ./a.exe
> -bash: ./a.exe: Permission denied
> (and again, if a.exe is given the "x" perm in the Linux fs, the command above works)

> I think that something's wrong with how (or if) Cygwin translates the "x"
> unix execution permission bit to an ACL that is passed thru SMB -- it does
> not get transferred to the Linux side correctly.  But if set there, then it
> gets converted to the execute ACL the right way, and that makes the file
> executable on the Windows side...  I do not know how is it all implemented, though;  it's just my observation.


-- 
With best regards,
Andrey Repin
Tuesday, August 13, 2019 21:22:07

Sorry for my terrible english...


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

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

* Re: SMBFS mount's file cannot be made executable
  2019-08-13 12:27   ` Lavrentiev, Anton (NIH/NLM/NCBI) [C] via cygwin
@ 2019-08-13 18:34     ` Achim Gratz
  2019-08-13 18:35     ` Andrey Repin
  1 sibling, 0 replies; 24+ messages in thread
From: Achim Gratz @ 2019-08-13 18:34 UTC (permalink / raw)
  To: cygwin

Lavrentiev, Anton (NIH/NLM/NCBI) [C] via cygwin writes:
> I think that something's wrong with how (or if) Cygwin translates the
> "x" unix execution permission bit to an ACL that is passed thru SMB --
> it does not get transferred to the Linux side correctly.  But if set
> there, then it gets converted to the execute ACL the right way, and
> that makes the file executable on the Windows side...  I do not know
> how is it all implemented, though; it's just my observation.

If it's related to the ACL handling then it should start working when
you remove the ACL on the file with 'setfacl -kb …'.  On the other hand
you mentioned NetApp, and these can be set up to completely ignore
certain DACL, mode or owner changes from clients (with or without
raising errors while doing so).


Regards,
Achim.
-- 
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+

Factory and User Sound Singles for Waldorf Q+, Q and microQ:
http://Synth.Stromeko.net/Downloads.html#WaldorfSounds

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

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

* RE: SMBFS mount's file cannot be made executable
       [not found] ` <704986a5a4ab41709eb963dcd23887b1@BELBRU-EXMP101.eeas.europa.eu>
@ 2019-08-13 12:27   ` Lavrentiev, Anton (NIH/NLM/NCBI) [C] via cygwin
  2019-08-13 18:34     ` Achim Gratz
  2019-08-13 18:35     ` Andrey Repin
  0 siblings, 2 replies; 24+ messages in thread
From: Lavrentiev, Anton (NIH/NLM/NCBI) [C] via cygwin @ 2019-08-13 12:27 UTC (permalink / raw)
  To: 'cygwin@cygwin.com'

Thanks for responding!

> You need the "exec" mount option.

I thought so too, but how do I give that option to a drive that is "noumount".  I cannot dis- or re-mount it AFAICT.

$ mount
...
Z: on /cygdrive/z type smbfs (binary,posix=0,user,noumount,auto)
$ umount /cygdrive/z
umount: /cygdrive/z: Invalid argument

Also, I tried to mount the same path elsewhere, and with the "exec" options, and that wouldn't help, either:

$ mount -o exec //coredev2/home/lavr /mnt
$ mount
//coredev2/home/lavr on /mnt type smbfs (binary,exec,user)
...
$ cd /mnt
$ pwd
/mnt
$ gcc a.c
$ ls -l a.exe
-rw-rw-r--+ 1 lavr cppcore 157753 Aug 13 08:20 a.exe
$ ./a.exe
-bash: ./a.exe: Permission denied
(and again, if a.exe is given the "x" perm in the Linux fs, the command above works)

I think that something's wrong with how (or if) Cygwin translates the "x" unix execution permission bit to an ACL that is passed thru SMB -- it does not get transferred to the Linux side correctly.  But if set there, then it gets converted to the execute ACL the right way, and that makes the file executable on the Windows side...  I do not know how is it all implemented, though;  it's just my observation.


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

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

* RE: SMBFS mount's file cannot be made executable
  2019-08-12 19:05 Lavrentiev, Anton (NIH/NLM/NCBI) [C] via cygwin
@ 2019-08-13  8:28 ` KAVALAGIOS Panagiotis (EEAS-EXT)
       [not found] ` <704986a5a4ab41709eb963dcd23887b1@BELBRU-EXMP101.eeas.europa.eu>
  1 sibling, 0 replies; 24+ messages in thread
From: KAVALAGIOS Panagiotis (EEAS-EXT) @ 2019-08-13  8:28 UTC (permalink / raw)
  To: cygwin

> Hi,
> 
> So nobody has any suggestions per this?
> 
> https://cygwin.com/ml/cygwin/2019-08/msg00126.html

That's strange. The execution of a file is also controlled by the way the filesystem is mounted and the execution permission granted by chmod is not enough. You need the "exec" mount option. On the drives that have the "user" option automatically implies noexec, nosuid, and nodev, unless overridden by the corresponding option without the "no" prefix.

The only issue I can see is that you can execute files on your U: drive and even on your Z: if you give permissions from Linux machine. Maybe Cygwin implementation is not so strict about the permissions.

Panos

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

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

* SMBFS mount's file cannot be made executable
@ 2019-08-12 19:05 Lavrentiev, Anton (NIH/NLM/NCBI) [C] via cygwin
  2019-08-13  8:28 ` KAVALAGIOS Panagiotis (EEAS-EXT)
       [not found] ` <704986a5a4ab41709eb963dcd23887b1@BELBRU-EXMP101.eeas.europa.eu>
  0 siblings, 2 replies; 24+ messages in thread
From: Lavrentiev, Anton (NIH/NLM/NCBI) [C] via cygwin @ 2019-08-12 19:05 UTC (permalink / raw)
  To: 'cygwin@cygwin.com'

Hi,

So nobody has any suggestions per this?

https://cygwin.com/ml/cygwin/2019-08/msg00126.html

TIA

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

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

* SMBFS mount's file cannot be made executable
@ 2019-08-08 15:42 Lavrentiev, Anton (NIH/NLM/NCBI) [C] via cygwin
  0 siblings, 0 replies; 24+ messages in thread
From: Lavrentiev, Anton (NIH/NLM/NCBI) [C] via cygwin @ 2019-08-08 15:42 UTC (permalink / raw)
  To: 'cygwin@cygwin.com'

Hi,

Here's the situation, I have a netmount "Z:" but I cannot make any files on it executable from Cygwin:

$ mount
...
Z: on /cygdrive/z type smbfs (binary,posix=0,user,noumount,auto)

$ cd /cygdrive/z

$ pwd
/cygdrive/z

$ cat a.c
#include <stdio.h>

int main()
{
    printf("Hello world!\n");
    return 0;
}

$ gcc -Wall a.c

$ echo $?
0

$ ./a.exe
-bash: ./a.exe: Permission denied

$ ls -l a.exe
-rw-rw-r--+ 1 lavr cppcore 157753 Aug  8 11:29 a.exe

$ getfacl.exe a.exe
# file: a.exe
# owner: lavr
# group: cppcore
user::rw-
user:lavr:rw-
group::r--
group:cppcore:r--
mask::rw-
other::r--

$ chmod a+x a.exe

$ echo $?
0

$ ls -l a.exe
-rw-rw-r--+ 1 lavr cppcore 157753 Aug  8 11:29 a.exe

$ getfacl.exe a.exe
# file: a.exe
# owner: lavr
# group: cppcore
user::rw-
user:lavr:rw-
group::r--
group:cppcore:r--
mask::rw-
other::r--

$ ./a.exe
-bash: ./a.exe: Permission denied

What's missing?  How to make the file executable, and why chmod() lies about all-good when it does nothing?
Any ideas please?

Thanks!

P.S. I have another netmount "drive" (U:) which Cygwin identifies as "netapp", and everything works on that drive,
regarding the execution permission.

U: on /cygdrive/u type netapp (binary,posix=0,user,noumount,auto)

Also, any file that I give the "x" permission from outside Cygwin (e.g. from Linux) on the SMBFS drive "Z:",
becomes executable:

Cygwin> $ gcc -Wall a.c

Linux> $ chmod a+x a.exe

Cygwin> $ ./a.exe
Hello world!


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

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

end of thread, other threads:[~2019-08-20 19:44 UTC | newest]

Thread overview: 24+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-08-15  1:40 SMBFS mount's file cannot be made executable Lavrentiev, Anton (NIH/NLM/NCBI) [C] via cygwin
2019-08-15  2:59 ` Brian Inglis
  -- strict thread matches above, loose matches on Subject: below --
2019-08-15  2:00 Lavrentiev, Anton (NIH/NLM/NCBI) [C] via cygwin
2019-08-15  9:21 ` L A Walsh
2019-08-15  9:23 ` L A Walsh
2019-08-21  7:12   ` Lavrentiev, Anton (NIH/NLM/NCBI) [C] via cygwin
2019-08-14 20:39 Lavrentiev, Anton (NIH/NLM/NCBI) [C] via cygwin
2019-08-15  1:31 ` Ken Brown
2019-08-14 14:07 Lavrentiev, Anton (NIH/NLM/NCBI) [C] via cygwin
2019-08-15  1:28 ` Ken Brown
2019-08-14  4:24 Lavrentiev, Anton (NIH/NLM/NCBI) [C] via cygwin
2019-08-14 11:22 ` Ken Brown
2019-08-14 22:58   ` Brian Inglis
2019-08-14  0:53 Lavrentiev, Anton (NIH/NLM/NCBI) [C] via cygwin
2019-08-14  2:36 ` Ken Brown
2019-08-14 16:59 ` Achim Gratz
2019-08-12 19:05 Lavrentiev, Anton (NIH/NLM/NCBI) [C] via cygwin
2019-08-13  8:28 ` KAVALAGIOS Panagiotis (EEAS-EXT)
     [not found] ` <704986a5a4ab41709eb963dcd23887b1@BELBRU-EXMP101.eeas.europa.eu>
2019-08-13 12:27   ` Lavrentiev, Anton (NIH/NLM/NCBI) [C] via cygwin
2019-08-13 18:34     ` Achim Gratz
2019-08-13 18:35     ` Andrey Repin
2019-08-13 23:19       ` Lavrentiev, Anton (NIH/NLM/NCBI) [C] via cygwin
2019-08-14 20:05         ` Andrey Repin
2019-08-08 15:42 Lavrentiev, Anton (NIH/NLM/NCBI) [C] via cygwin

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