delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/02/11/18:21:27

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
Message-ID: <010c01c2d224$45dc5b40$78d96f83@pomello>
From: "Max Bowsher" <maxb AT ukf DOT net>
To: "Javier" <fjpp AT softhome DOT net>, <cygwin AT cygwin DOT com>
References: <b2bp3o$968$1 AT main DOT gmane DOT org> <027f01c2d217$7522c950$15fe86d9 AT webdev> <b2bvct$c31$1 AT main DOT gmane DOT org>
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
X-Priority: 3
X-MSMail-Priority: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106

Javier wrote:
> "Elfyn McBratney" <elfyn-cygwin AT exposure DOT org DOT uk> 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/

- Raw text -


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