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

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-0.8 required=5.0 tests=AWL,BAYES_00
X-Spam-Check-By: sourceware.org
Message-ID: <4EF2D79D.2020809@shaddybaddah.name>
Date: Thu, 22 Dec 2011 18:09:17 +1100
From: Shaddy Baddah <lithium-cygwin AT shaddybaddah DOT name>
User-Agent: Mozilla/5.0 (X11; Linux i686; rv:8.0) Gecko/20111124 Thunderbird/8.0
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: [ANNOUNCEMENT] CALL FOR TESTING: Cygwin 1.7.10
References: <announce DOT 20111206093746 DOT GA6222 AT calimero DOT vinschen DOT de>
In-Reply-To: <announce.20111206093746.GA6222@calimero.vinschen.de>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.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

Hi,

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.

I have another user, who is in the Administrators group, but not being
run via “Run as administrator”, for whom it all works fine:

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"
cache  empty  games  lib  log  run  tmp

c:\Users\Public\portapps\cygwin\bin>id -a
uid=42037(sbaddah) gid=10513(Domain Users) groups=10513(Domain
Users),545(Users)
,...(quite a number, 10+ domain groups)

Using this user, I was able to verify that a problem I have described
in the thread of http://cygwin.com/ml/cygwin/2011-12/msg00460.html is
not resolved by 1.7.10.

I mention this because I had upgraded to the snapshot specifically
because of that problem. But I'll keep further updates about it on
that thread.

Regards,
Shaddy

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