This is the mail archive of the cygwin@cygwin.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]
Other format: [Raw text]

Re: Bug in Cygwin SSHD on windows XP


>> 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@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@cygwin.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@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@POMELLO [/cygdrive/c/WINDOWS/system32] $ ntsec
max@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/


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