delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/11/28/06:35:52

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-ID: <002a01c296d2$41478560$78d96f83@pomello>
From: "Max Bowsher" <maxb AT ukf DOT net>
To: <cygwin AT cygwin DOT com>
References: <200211272159 DOT gARLxIX11334 AT mailgate5 DOT cinetic DOT de> <20021128104117 DOT B23323 AT cygbert DOT vinschen DOT de> <3DE5EEAF DOT 9020200 AT decodon DOT com> <20021128114848 DOT V1398 AT cygbert DOT vinschen DOT de>
Subject: Re: Bug in Cygwin SSHD on windows XP
Date: Thu, 28 Nov 2002 11:35:30 -0000
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106

>> Corinna Vinschen wrote:
>>> What does the ACL of ${windir}/system32/wsock32.dll look like?

> On Thu, Nov 28, 2002 at 11:23:43AM +0100, Frank-Michael Moser wrote:
>> moser AT PIP /cygdrive/c/WINDOWS/system32
>> $ getfacl wsock32.dll
>> # file: wsock32.dll
>> # owner: moser
>> # group: Kein
>> user::rwx
>> group::rwx
>> group:Benutzer:r-x
>> mask::rwx
>> other::---
>> 
>> ("other::---" - could this be the problem?)

Corinna Vinschen <corinna-cygwin AT cygwin DOT com> wrote:
> Yes, try to change that.
> My XP has the following setting:
> 
> $ getfacl /WINXP/system32/wsock32.dll
> # file: /WINXP/system32/wsock32.dll
> # owner: Administrators
> # group: SYSTEM
> user::rwx
> group::rwx
> group:Users:r-x
> group:Powerusers:r-x
> mask::rwx
> other::---
> 
> I wonder how that happened on your machine.

By having ntsec off when running getfacl:

max AT POMELLO [/cygdrive/c/WINDOWS/system32] $ getfacl wsock32.dll
# file: wsock32.dll
# owner: max
# group: None
user::rwx
group::r-x
other::r-x
mask::rwx
max AT POMELLO [/cygdrive/c/WINDOWS/system32] $ ntsec
max AT POMELLO [/cygdrive/c/WINDOWS/system32] $ getfacl wsock32.dll
# file: wsock32.dll
# owner: Administrators
# group: SYSTEM
user::rwx
group::rwx
group:Users:r-x
group:Power Users:r-x
mask::rwx
other::---

Where ntsec is an alias launching an ntsec-enabled shell.

Max.


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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