Mailing-List: contact cygwin-developers-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-developers-owner AT sourceware DOT cygnus DOT com Delivered-To: mailing list cygwin-developers AT sourceware DOT cygnus DOT com Message-ID: <390E01AC.55BB9433@vinschen.de> Date: Tue, 02 May 2000 00:14:04 +0200 From: Corinna Vinschen 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: <390DE90D DOT B31F3417 AT vinschen DOT de> <20000501170333 DOT A8049 AT cygnus DOT com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Chris Faylor wrote: > > On Mon, May 01, 2000 at 10:29:01PM +0200, Corinna Vinschen wrote: > >Kazuhiro Fujieda wrote: > >> > >> ntsec doesn't work at all since the 2000/04/25 snapshot. > >> > >> According to the SDK documents, GetFileSecurity sets the value > >> of the last argument to zero if it get security descriptors > >> successfully. So read_sd() in security.cc always return 0. > > > >??? ntsec works ok. The SDK documentation is wrong. > >GetFileSecurity returns the size of the SD. Just checked > >it again. > > Is this an NT4.0/2000 issue? Maybe. I will install NT4 tomorrow for testing purposes. Corinna