Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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?= 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 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit 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 ... > 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 ? 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/