delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/07/15/22:23:59

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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: Tue, 15 Jul 2003 22:23:10 -0400
From: "Pierre A. Humblet" <pierre DOT humblet AT ieee DOT org>
To: cygwin AT cygwin DOT com
Subject: Re: Permission problems with recent Cygwin
Message-ID: <20030716022310.GA34573343@hpn5170x>
Mail-Followup-To: "Pierre A. Humblet" <pierre DOT humblet AT ieee DOT org>,
cygwin AT cygwin DOT com
References: <20030716013719 DOT 334D234381 AT nevin DOT research DOT canon DOT com DOT au>
Mime-Version: 1.0
In-Reply-To: <20030716013719.334D234381@nevin.research.canon.com.au>
User-Agent: Mutt/1.4i

On Wed, Jul 16, 2003 at 11:37:19AM +1000, luke DOT kendall AT cisra DOT canon DOT com DOT au wrote:
> On some recent installs of Cygwin (from a snapshot of a mirror site
> about a week ago), we've started getting some odd problems.  Re-running
> setup pointing it at a fresh setup and mirror does not fix the problems
> (naturally enough).
> 
> A few key files in /etc (including /etc/profile!) have owner set to the
> person who did the install (a system admin person), but mode 700.  So one
> obvious effect is that /etc/profile can't be read by anyone except the
> installer, so PATH isn't set for ordinary users, so nothing works properly.

Luke,

The problem occurs because the install is done by a Domain User
and because the Windows default setting at your site is to give no 
permissions to Everyone (at least in /etc).

There is a patch submitted to setup that is likely to
fix this. To assess if the patch would be effective in your case,
could you send the output of "getfacl /", "getfacl /bin" and 
"getfacl /etc" ? 
 
Additionally cygcheck reveals (the output of "id")  
UID: 11021(luke)        GID: 10513(Domain
groups=12919(adaytum)   10513(Domain Users)
13876(MS_VisualStudio)  13761(ZoneAlarm)
that you are not a member of Users (or that Users is missing from /etc/group),
which is unusual. If normal users are not in Users, the problem will
persist even with the setup patch.

"chmod -R a+rx /etc" is an effective answer. You could also change the group
to Users (assuming users are in Users) and change the group permissions.

Pierre


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