delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2014/02/14/07:35:29

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:date:from:reply-to:message-id:to:subject
:in-reply-to:references:mime-version:content-type
:content-transfer-encoding; q=dns; s=default; b=OSpac7SXqBa7ru0j
m8w1eAu4k0D61ksRak9O5L2erII9AyQzKFseqfuBu2ugn+DJuQ6gVaL9QMGjN1l6
mrLHK0URdi27jERVlU9qY/KfaEy7mblqCxsbkfIIFFUO0lgCxVDOikli4pWAGMD7
7cQz4fCj15bQ0CSDOFrgItRWVVc=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:date:from:reply-to:message-id:to:subject
:in-reply-to:references:mime-version:content-type
:content-transfer-encoding; s=default; bh=eg6KZWyGRR6ukhrJ+HoQhz
n66rs=; b=sqtNxgwrhHpXg6k58oy7gXGbE0YK9QHGMEnlJgolAJopVjqCBbhWs4
RPn548rZ7ntPrv1qghLxw+K7mnhUhmrPAZNoHcdcToxD/rCY2vcE/9AEonINmLgT
W72fKXbmz4M4xXshLPkdzLDcHPln3oobbtChvSP4d00oeKUgVTJn0=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=2.5 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,KAM_THEBAT,SPF_SOFTFAIL autolearn=no version=3.3.2
X-HELO: smtpback.ht-systems.ru
Date: Fri, 14 Feb 2014 16:23:49 +0400
From: Andrey Repin <anrdaemon AT yandex DOT ru>
Reply-To: Andrey Repin <cygwin AT cygwin DOT com>
Message-ID: <1177248581.20140214162349@mtu-net.ru>
To: Corinna Vinschen <cygwin AT cygwin DOT com>
Subject: Re: Testers needed: New passwd/group handling in Cygwin
In-Reply-To: <20140214104243.GY2246@calimero.vinschen.de>
References: <20140213143849 DOT GH2246 AT calimero DOT vinschen DOT de> <52FD63BC DOT 60800 AT etr-usa DOT com> <20140214104243 DOT GY2246 AT calimero DOT vinschen DOT de>
MIME-Version: 1.0
X-IsSubscribed: yes

Greetings, Corinna Vinschen!

>> >    unix="value"      Sets the NFS/Samba uid of the user to the decimal
>> >                      value.  See the next chapter.
>> 
>> I know I'm bikeshedding, but "unix" seems like a pretty vague
>> attribute name here.
>> 
>>     unix="good" ?
>>     unix="linux" ?
>>     unix="yesplease" ?
>> 
>> I'd be happier with "uid" or similar.
>> 
>> Write it in a sentence:
>> 
>> a. My uid is 502; vs
>> b. My unix is 502.

> Would you believe me that I sweated about this, too?  The important
> thing to consider is, the keyword should not give the impression, that
> the uid or gid set at this point is the Cygwin uid or gid.  It's only
> the uid/gid of your NFS or Samba account on that weird Linux box.

> Really, I'm open to suggestions to have a better keyword, but it
> should make very clear that this is not your Cygwin uid/gid.

nfsUid/-Gid
Since it is almost exclusively used to talk to NFS servers.

>> >          If you create or change /etc/nsswitch.conf,
>> >          make sure to stop and restart all Cygwin processes to pick up
>> >          the change.
>> 
>> "All" processes?
>> 
>> If I have cron running, then exit the one instance of MinTTY after
>> vim'ing /etc/nsswitch.conf, will the file be read when I re-open
>> MinTTY?
>> 
>> cron.exe is running in a different process group, isn't it?
>> 
>> If true, I realize cron.exe and any programs it runs will continue
>> to believe there is no /etc/nsswitch.conf until *it* restarts.

> You are absolutely right, but, please, suggest a better wording.
> This is what I'm trying to explain in fact, but everything I came
> up with sounded like beating around the bush, more confusing than
> helping.

"...each relevant Cygwin process tree needs to be restarted to catch up"?
Something along these lines. Since these tokens maintained on per-tree basis,
inherited from the very first Cygwin process started.


--
WBR,
Andrey Repin (anrdaemon AT yandex DOT ru) 14.02.2014, <16:19>

Sorry for my terrible english...


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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