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 Message-ID: <010c01c2d224$45dc5b40$78d96f83@pomello> From: "Max Bowsher" To: "Javier" , References: <027f01c2d217$7522c950$15fe86d9 AT webdev> Subject: Re: Fortune 1.8.2 broken after upgrading to Cygwin 1.3.20?? (a problem with permissions?) Date: Tue, 11 Feb 2003 23:21:15 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: 8bit X-Priority: 3 X-MSMail-Priority: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Javier wrote: > "Elfyn McBratney" escribió en el > mensaje news:027f01c2d217$7522c950$15fe86d9 AT webdev... >>> Maybe is a permits probem / thing?? >>> >>> fortune> whoami >>> javier >>> >>> I have reinstalled the software, and I see that the install program >>> has given the files over to Administ.Ninguno ("Administrator / >>> None" in spanish) ... but I am logged as "Javier" both in Cygwin >>> and under windows, and am a member of the Administrators group?! >> >> >> That'll be the problem then, as only Administrator has permission to >> r(ead), w(rite) or (e)x(ecute) the file. If you reset the >> permissions, so that either you are the owner or you have >> permissions to read/and or write if you need to, on the files >> fortune should behave normally. >> > > Yes, I did chmod +r the files in the dir, and now I can get my > fortunes all right ;) > > Thanks for the tip ;:) > > What I find somewhat troubling is that the install program assigns the > files to the Adminstrator user?? > I mean, shouldn't setup.exe run as "My" user (the same one I am on > Windows? ) It does... but Windows *always* seems to set the group to None. When you are a member of the Administrators group, Windows sets the owner of files you create to "Administrators" - yes, thats right, the *owner* of the file is a *group*. That Administ you mention above is Administrators, not Administrator. (This behaviour is optional in XP). So, the permissions you ask about are wholly to determined by Windows. Cygwin setup.exe has nothing to do with them. Max. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/