[...]
And here is the status that icacls reports back on the original, owning
workstation
after having use vim to modify the two files from that remote workstation.
FileExp.txt NULL SID:(DENY)(Rc,S,REA,WEA,X,DC)
NW10\tcorbet:(DENY)(S,RD,WD,AD,REA,WEA,X,DC)
NW10\tcorbet:(D,Rc,WDAC,WO,RA,WA)
NW10\None:(Rc,S,RA)
NT AUTHORITY\Authenticated Users:(RX,W)
NT AUTHORITY\SYSTEM:(RX,W)
BUILTIN\Administrators:(RX,W)
BUILTIN\Users:(RX)
Everyone:(Rc,S,RA)
vimtest.txt NULL SID:(DENY)(Rc,S,WEA,X,DC)
NW10\tcorbet:(R,W,D,WDAC,WO)
NW10\None:(DENY)(S,X)
NT AUTHORITY\Authenticated Users:(DENY)(S,X)
NT AUTHORITY\SYSTEM:(DENY)(S,X)
BUILTIN\Administrators:(DENY)(S,X)
BUILTIN\Users:(DENY)(S,X)
NW10\None:(RX)
NT AUTHORITY\Authenticated Users:(RX,W)
NT AUTHORITY\SYSTEM:(RX,W)
BUILTIN\Administrators:(RX,W)
BUILTIN\Users:(RX)
Everyone:(R)
If my understanding is correct concerning the precedence handling of an
ACL with multiple ACEs for the same user/ID, this result from grep
on the original, owning workstation would not surprise you:
F:\Dev\cygshoot>grep foo fileexp.txt
grep: fileexp.txt: Permission denied
but it blows me completely away. Clearly I no longer have an environment
in which I can work on any file from any workstation using any Cygwin
utilities.
What have I messed up?