delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/07/30/09:43: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: <1264BCF4F426D611B0B00050DA782A50027EFFAA@mail.gft.com>
From: =?ISO-8859-1?Q?=22Schaible=2C_J=F6rg=22?= <Joerg DOT Schaible AT gft DOT com>
To: cygwin AT cygwin DOT com
Subject: RE: FAQ or bash bug with ntsec? (WAS: Help request: bash with PAT
H problems)
Date: Tue, 30 Jul 2002 15:43:43 +0200
MIME-Version: 1.0
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id g6UDhqb31573

Hi Jason,

> Jörg,
> 
> What is the ownership and permissions of your /usr/bin?  Are they 
> 544 and 700, respectively?  If so then, chmod 755 /usr/bin prevent the
> problem from re-occurring on every reinstall.

see current "state":
$ ls -ld /bin
drwx------    3 admins   1001       163840 30. Jul 13:03 /bin
$ ls -lnd /bin
drwx------    3 544      1001       163840 30. Jul 13:03 /bin

So you're quite right. And I have no permission to chmod the directory ...
<g>

> Unfortunately, how /usr/bin was set to permissions of 700 is still a
> mystery...

I also don't know how the "internet guest account (1001)" could gain group
ownership. Possibly some inherited rights after installation of the personal
web server <shudder>?

OK. After chgrp 755 is assigned.

After reinstallation of findutils:
$ ls -ln /bin/find.exe
-rwxr-xr-x    1 544      513         78848 20. May 05:39 /bin/find.exe

bash is happy, so am I :)

Still, the basic question is, what caused the settings of the directory? At
least the settings of /bin is an entry for the FAQ.

Other mysteries:
a) Why was only bash infected by the mask settings and none of the other
shells?
b) Why executed bash the command when called directly?

Thanks to all,
Jörg

--
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