delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/04/10/04:16:54

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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
Date: Sun, 10 Apr 2005 10:16:35 +0200
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: Cygwin Mailing List <cygwin AT cygwin DOT com>
Subject: Re: Permissions problems: traverse vs. notraverse
Message-ID: <20050410081635.GX1471@cygbert.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: Cygwin Mailing List <cygwin AT cygwin DOT com>
References: <42582987 DOT 4090309 AT yahoo DOT ca>
Mime-Version: 1.0
In-Reply-To: <42582987.4090309@yahoo.ca>
User-Agent: Mutt/1.4.2i

On Apr  9 15:14, Insert Real Name wrote:
> ==(Quote)==
> bash.exe: warning: could not find /tmp, please create!
> bash: /etc/profile: Permission denied
> bash: /cygdrive/c/Users/Michel/.bash_profile: Permission denied
> bash-2.05b$
> ==(End Quote)==
> and no Cygwin-linked program could work: "bash: fork: Permission denied"

What really bugs me with traverse checking is, that I don't have any
problems with it on the machines I'm using.

> Here are the Windows permissions of my home directory and its parent:
> C:\Users\Michel>cacls c:\Users\Michel
> c:\Users\Michel BUILTIN\Administrators:(OI)(CI)F
>                ZIRIZUI\Michel:(OI)(CI)F
>                NT AUTHORITY\SYSTEM:(OI)(CI)F
> C:\Users\Michel>cacls c:\Users
> c:\Users BUILTIN\Administrators:(OI)(CI)F
>         Everyone:(OI)(CI)R
>         BUILTIN\Power Users:(OI)(CI)R
>         NT AUTHORITY\SYSTEM:(OI)(CI)F
>         BUILTIN\Users:(OI)(CI)R

Looks pretty sufficient.  Are the permissions also sufficient for
/etc, /etc/passwd and /etc/group?

If you're interested to debug this further, you could do me two favors.

- With traverse not switched off (don't set CYGWIN=notraverse), please run
    strace -o id.strace -m 4ffff id
  and
    strace -o bash.strace -m 4ffff bash --login 

  When creating the bash strace, run any one command which is expected to
  fail with "fork: Permission denied" so that this situation is catched
  in the strace output.

  Send both straces bzip2'd to this list.

- Try the latest snapshot from http://cygwin.com/snapshots/ and report if
  the problem persists.


Thanks,
Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          mailto:cygwin AT cygwin DOT com
Red Hat, Inc.

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.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