delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/09/24/05:45:51

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: <4989AFD7505BD611961B0002A5DA3E740382BE2C@NNHML2>
From: "Hughes, Bill" <Bill DOT Hughes AT cox DOT co DOT uk>
To: "'cygwin AT cygwin DOT com'" <cygwin AT cygwin DOT com>
Subject: RE: man 1.5j - can't find cat, tbl, nroff, less
Date: Wed, 24 Sep 2003 10:47:19 +0100
MIME-Version: 1.0

Sent: 23 September 2003 17:32 From: Kevin Van Workum
> I had the same problem this morning after changing the share permission on
> my C-drive from Everyone, to Administrator and Kevin. Once I added
> Administrators (note the "s"), the problem was fixed. I guess /bin/cat,
> etc were owned by Administrators and not Administrator. Whatever.

Hmmm, adding 'administrators' did fix the problem.
As which user (uid) does cygwin run?
The owner of the files in /bin is the 'administrators' group, and the owning
group is 'Domain Users'.
I presume cygwin is checking NT file system permissions for the owner and if
this is denied it doesn't check to see if the current userid is a member of
that owner (which is a group in this case), it's a little odd as if the
owner does have NT file permissions to the files it does appear to perform
that check.
Rather than add administrators to the root file permissions for the drive
(D: in my case), is there a major problem with changing the owner from the
administrators group to the 'system' id and adding execute permission for
the domain users group? i.e. from 500 to 510.
I suppose this comes back to 'as which user does cygwin run?'.

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