delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/03/14/17:07:29

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: Fri, 14 Mar 2003 17:05:24 -0500
From: "Pierre A. Humblet" <pierre DOT humblet AT ieee DOT org>
To: cygwin AT cygwin DOT com
Subject: Re: cygwin and ntsec
Message-ID: <20030314220524.GA68647@Worldnet>
References: <20030314214115 DOT 75837 DOT qmail AT web14207 DOT mail DOT yahoo DOT com>
Mime-Version: 1.0
In-Reply-To: <20030314214115.75837.qmail@web14207.mail.yahoo.com>
User-Agent: Mutt/1.4i

On Fri, Mar 14, 2003 at 01:41:15PM -0800, Ling F. Zhang wrote:
> right after installation of cygwin, the cygwin
> filesystem is mostly under user Administrators (the
> user I use is Admin, which is just renaming the
> default Administrator of Win2k) and group None...

This is not supposed to happen with the current (few
days old) setup. Did you use the current version
or an old one?

> While I am not sure if None is a group, I am pretty
> damn sure that Administrators is a group in my win2k
> machine and not a user....what's up with that???

If you are in the Administrators group, then Windows
(but not Cygwin) gives ownership to that group...
Thus Administrators is placed in both passwd and group.
 
> I checked /etc/passwd and found that "Administrators"
> and "Admin" are both well-defined user and am
> wondering how come cygwin uses Administrators (again,
> a group in win2k) by default?

setup is not a Cygwin program, so you will to ask MS.

> would
> "find / -user Administrators -group none -exec chown
> Admin:PowerUser {} \;"
> do any harm? (because I did it....)

That should be fine. If your machine has users
that are not in PowerUser, make sure "other" has rw access. 

Pierre

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