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: FAQ or bash bug with ntsec? (WAS: Help request: bash with PAT H problems)


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/


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