This is the mail archive of the cygwin-developers@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: ntsec doesn't work at all.


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]