ntsec doesn't work at all.

Corinna Vinschen corinna@vinschen.de
Mon May 1 16:00:00 GMT 2000


Chris Faylor wrote:
> >> Is this an NT4.0/2000 issue?
> >
> >Maybe. I will install NT4 tomorrow for testing purposes.
> 
> Is there any easy way for me to test this?  I have a quadruple-boot
> machine that I can boot into NT4.  I installed W2K last week.

===== SNIP =====
Index: security.cc
===================================================================
RCS file: /cvs/src/src/winsup/cygwin/security.cc,v
retrieving revision 1.5
diff -u -p -r1.5 security.cc
--- security.cc 2000/04/25 16:31:14     1.5
+++ security.cc 2000/05/01 22:55:19
@@ -407,6 +407,7 @@ read_sd(const char *file, PSECURITY_DESC
       __seterrno ();
       return -1;
     }
+  debug_printf("file = %s: len=%d", file, len);
   if (len > *sd_size)
     {
       *sd_size = len;
===== SNAP =====

Then strace eg. `ls -l' in a little directory with ntsec ON.
grep for `read_sd'. If the len is 0, it's a NT4/2000 issue.

Corinna


More information about the Cygwin-developers mailing list