delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-developers/2000/05/01/17:58:54

Mailing-List: contact cygwin-developers-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-developers-subscribe AT sourceware DOT cygnus DOT com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin-developers/>
List-Post: <mailto:cygwin-developers AT sourceware DOT cygnus DOT com>
List-Help: <mailto:cygwin-developers-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-developers-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin-developers AT sourceware DOT cygnus DOT com
Message-ID: <390E0C70.9FB92739@vinschen.de>
Date: Tue, 02 May 2000 01:00:00 +0200
From: Corinna Vinschen <corinna AT vinschen DOT de>
Reply-To: cygwin-developers AT sourceware DOT cygnus DOT com
Organization: Cygnus Solutions, a Red Hat Company
X-Mailer: Mozilla 4.7 [en] (X11; I; Linux 2.2.14 i686)
X-Accept-Language: de, en
MIME-Version: 1.0
To: cygwin-developers AT sourceware DOT cygnus DOT com
Subject: Re: ntsec doesn't work at all.
References: <s1sd7n6hx58 DOT fsf AT jaist DOT ac DOT jp> <390DE90D DOT B31F3417 AT vinschen DOT de> <20000501170333 DOT A8049 AT cygnus DOT com> <390E01AC DOT 55BB9433 AT vinschen DOT de> <20000501182926 DOT A9181 AT cygnus DOT com>

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019