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 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" To: cygwin AT cygwin DOT com Subject: Re: Permission problems with recent Cygwin Message-ID: <20030716022310.GA34573343@hpn5170x> Mail-Followup-To: "Pierre A. Humblet" , cygwin AT cygwin DOT com References: <20030716013719 DOT 334D234381 AT nevin DOT research DOT canon DOT com DOT au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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/