delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2011/12/22/05:45:51

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Date: Thu, 22 Dec 2011 11:44:43 +0100
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: [ANNOUNCEMENT] CALL FOR TESTING: Cygwin 1.7.10
Message-ID: <20111222104443.GC31936@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <announce DOT 20111206093746 DOT GA6222 AT calimero DOT vinschen DOT de> <4EF2D79D DOT 2020809 AT shaddybaddah DOT name> <20111222092552 DOT GA31936 AT calimero DOT vinschen DOT de> <4EF3027A DOT 7090503 AT shaddybaddah DOT name>
MIME-Version: 1.0
In-Reply-To: <4EF3027A.7090503@shaddybaddah.name>
User-Agent: Mutt/1.5.21 (2010-09-15)
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
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

On Dec 22 21:12, Shaddy Baddah wrote:
> On 22/12/11 20:25, Corinna Vinschen wrote:
> > On Dec 22 18:09, Shaddy Baddah wrote:
> >> On 06/12/11 20:37, Corinna Vinschen wrote:
> >>> A lot of changes and fixes have been made in Cygwin since 1.7.9 has
> >>> been released, so we're looking forward to release Cygwin 1.7.10 soon.
> >>>
> >>> Please test the latest developer snapshots at http://cygwin.com/snapshots/
> >>> which should have "Release Candidate" quality.
> >>
> >> I'm having a problem with the most recent snapshot (at time of
> >> writing), 2011-12-19 17:48:27 UTC. A regular non-privileged (not in
> >> Administrators) user is unable to execute any commands from within a
> >> Cygwin process itself.
> >>
> >> The following copy/paste from a Command Prompt session should
> >> illustrate the problem:
> >>
> >> c:\Users\Public\portapps\cygwin\bin>ls /var
> >> cache  empty  games  lib  log  run  tmp
> >>
> >> c:\Users\Public\portapps\cygwin\bin>sh -c "/bin/ls /var"
> >> sh: /bin/ls: Permission denied
> >>
> >> c:\Users\Public\portapps\cygwin\bin>id -a
> >> uid=1007(portapps) gid=513(None) groups=513(None),545(Users)
> >>
> >> c:\Users\Public\portapps\cygwin\bin>sh -c "/bin/id -a"
> >> sh: /bin/id: Permission denied
> >>
> >> I am running Windows 7 64bit.
> >
> > Works for me.  I tried this with a non-admin domain member account
> > as well as with a non-admin local SAM account.  Did you check the
> > actual permissions?
> >
> 
> Yes. They all look right to me. Here is what I see for ls for example:
> 
> c:\Users\Public\portapps\cygwin\bin>ls -l /bin/ls
> -rwxr-xr-x 1 portapps None 128526 Oct 28 15:00 /bin/ls
> 
> c:\Users\Public\portapps\cygwin\bin>sh -c "/bin/ls -l /bin/ls"
> sh: /bin/ls: Permission denied
> [...]
> I don't have time right at this moment, but later I maybe able to help
> with some DLL debugging

Does it really work if you replace the DLL with 1.7.9 again?  If so,
you could try to find out which snapshot introduced the problem for you.

Also, you could start the whole thing from strace to see what happens:

  CMD> strace -o my.trace sh -c "/bin/id -a"


Corinna

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

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019