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 Delivered-To: mailing list cygwin AT cygwin DOT com X-Draft-From: ("nnmh:indoos.cygwin" 2049) To: cygwin AT cygwin DOT com Subject: Re: login: no shell: /bin/bash: Permission denied References: <20020306101433 DOT P13590 AT cygbert DOT vinschen DOT de> <20020306114133 DOT V13590 AT cygbert DOT vinschen DOT de> <20020306174336 DOT A13590 AT cygbert DOT vinschen DOT de> <20020307101441 DOT M13590 AT cygbert DOT vinschen DOT de> <20020307110237 DOT P13590 AT cygbert DOT vinschen DOT de> Organization: Jan at Appel Mail-Followup-To: cygwin AT cygwin DOT com From: Jan Nieuwenhuizen Date: Thu, 07 Mar 2002 14:04:38 +0100 Message-ID: Lines: 48 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Corinna Vinschen writes: > I have XP HE and XP Prof versions for testing purposes. The restrictions > in HE are really tricky. I tried even stuff as moving DLLs and MMC > snapins from Prof to HE but to no avail. Ok, so they're really rather different, in distributed system software. > Registry tweaking is useless, too. The user rights are in the SAM. Yes, I understand that; but I was thinking the NT server vs workstation registry setting. If there would just have been this prof/he key. > Yeah, HE is an NT system which has been downgraded nearly to the > usual 98 insecurity. It's annoying. However, it was funny to > see, that `ntsec' works fine. Unfortunately you can neither set > nor see the permissions in the GUI. But you can, using Cygwin. > So with Cygwin you can upgrade HE ;-) Yes, Cygwin gives a lot more insight in permissions. It seems however, that XP (HE) doesn't respect execute permissions on directories, in some cases. Moreover, read and execute permissions in /cygdrive/c seem to be granted in any case. $ mkdir 400; echo 400 > 400/400; chmod 400 400 $ ls -ld 400 400/400; cat 400/400 dr-------- 2 fred Geen 0 Mar 7 12:52 400 -rw-rw-rw- 1 fred Geen 4 Mar 7 12:52 400/400 $ cd 400 bash: cd: 400: Permission denied $ ls -l /cygdrive/c/autoexec.bak -rwx------ 1 tom Geen 18 Mar 7 12:55 /cygdrive/c/autoexec.bak $ cat /cygdrive/c/autoexec.bak Path=C:\WINDOWS; $ id uid=1009(fred) gid=513(Geen) groups=0(Iedereen),513(Geen),545(Gebruikers) $ mount C:\cygwin\bin on /usr/bin type system (binmode) C:\cygwin\lib on /usr/lib type system (binmode) C:\cygwin on / type system (binmode) c: on /cygdrive/c type user (textmode,noumount) Jan. -- Jan Nieuwenhuizen | GNU LilyPond - The music typesetter http://www.xs4all.nl/~jantien | http://www.lilypond.org -- 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/