delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/07/30/07:06:42

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: <1264BCF4F426D611B0B00050DA782A50027EFFA4@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'" <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 13:06:13 +0200
MIME-Version: 1.0
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id g6UB6g910047

Hi Corinna,

> From: Corinna Vinschen
> > On Tue, Jul 30, 2002 at 12:00:44PM +0200, "Schaible, Jörg" wrote:
[...]
> > unfortunately this issue is not solved. After reinstalling 
> the findutils all
> > the owner and group settings are "restored" and the 
> misbehaviour arises
> > again.
> > 
> > > Could this be put in a FAQ somewhere please?
> > 
> > So an FAQ entry could only describe a temporary solution as 
> long as bash has
> > this bug.
> 
> Btw., it's not a bash bug.  What happens to you is by design.  Just
> look into an `ls -ln' of the files and the lights will shine.

OK. You're the expert. So I suppose, that the other shells are not as close
Cygwinified as bash ...

> What I don't understand, though, is, why the permissions are set to
> that value by setup.exe.  I thought it should give explicitely full
> permissions to world.  At least I recall that I added some code to
> setup.exe setting the security descriptor.  Is it not used in setup
> anymore???

Setup is 2.249.2.5

Maybe this gives you more information:
$ mkpasswd -d -u jse
jse:unused_by_nt/2000/xp:11508:10513:Schaible,
Jörg,U-GFT\jse,S-1-5-21-507921405-764733703-1708537768-1508:/home/jse:/bin/b
ash
$ mkgroup -d | grep 10513
Domain Users:S-1-5-21-507921405-764733703-1708537768-513:10513:

I modified my entry in /etc/passwd to
jse:unused_by_nt/2000/xp:11508:544:Schaible,
Jörg,U-GFT\jse,S-1-5-21-507921405-764733703-1708537768-1508:/home/jse:/bin/b
ash

After Setup find.exe has following entries:

$ ls -ln /bin/find.exe
-rwx------    1 544      513         78848 20. May 05:39 /bin/find.exe

and bash fails again (although I am member of the local admin's group).

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