X-Recipient: archive-cygwin@delorie.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:message-id:date:from:mime-version:to:subject
	:content-type:content-transfer-encoding; q=dns; s=default; b=eSe
	Gbd2gPs6oqIFUb7fv4xAkUUfgc1LtzA7nspck1imyEutGkR67xa/tgKA9xuLmPh/
	O5qrfu9Ld6BQbkeZs/Rkmx22YCzkTVU00dAcF/BjD5xHxYaJwUAUaHcw/FNeJzPl
	042wuGPWZkNjFgyRmPhzGBySfbT6D8WgKW+7FHTI=
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:message-id:date:from:mime-version:to:subject
	:content-type:content-transfer-encoding; s=default; bh=3fCdkOmbd
	x2/r53kz6YRRfNf3Uo=; b=EJ1L986XHOtpWWp/EsX+Fpeba0ctsDigCujjf6DTb
	lB9I+dXCiFqVltW+kVqzvCF31jIJ40u+lUu01PxxbGFHy3++5ceyIGwXvy/LbDca
	PRQH5zvN6Xk2jUQXPjD1CJ2+wc4lbmRbnKwZhOCzOu2xffekGnWJG3Iy42Hb46os
	2M=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-0.3 required=5.0 tests=AWL,BAYES_50,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,T_RP_MATCHES_RCVD autolearn=ham version=3.3.2
X-HELO: smtp202.alice.it
Message-ID: <54AE9F1C.5040204@alice.it>
Date: Thu, 08 Jan 2015 16:15:40 +0100
From: Angelo Graziosi <angelo.graziosi@alice.it>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.3.0
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Re: [ANNOUNCEMENT] TEST RELEASE: Cygwin 1.7.34-003
Content-Type: text/plain; charset=iso-8859-15; format=flowed
Content-Transfer-Encoding: 7bit

Marco Atzeri wrote:
> If re-installation created new SID's for you machine, than the old SID stored in the USB STICK file
> descriptors are not recognized.

I wrote:
> Ugh! I guess it is as Windows re-installation works

Maybe I spoken too soon..

I reformatted that usb key as NTFS and copied there backup data. Then I 
did a new Windows (W7U64) re-installation from scratch.

I re-installed completely MSYS2 and the basic of Cygwin64 (1.7.33 using 
/etc/passwd and group)

On MSYS2 the usb key is listed as follows:

$ ls -lrta /e/
totale 28
drwxr-xr-x 1 angelo None 0 29 dic 03.44 tlnet_repo
drwxr-xr-x 1 angelo None 0  6 gen 01.49 msys2-angelo.bkp-20150106
drwxr-xr-x 1 angelo None 0  7 gen 14.47 angelo.bkp-20150106
drwxr-xr-x 1 angelo None 0  7 gen 21.26 .
drwxr-xr-x 1 angelo None 0  8 gen 12.57 ..

while on Cygwin (1.7.33):

$ ls -lrta /cygdrive/e/
totale 24
drwxrwxr-x+ 1 ???????? ????????       0 29 dic 03.44 tlnet_repo
drwxr-xr-x+ 1 ???????? ????????       0  6 gen 01.49 
msys2-angelo.bkp-20150106
drwxr-xr-x+ 1 ???????? ????????       0  7 gen 14.47 angelo.bkp-20150106
drwxrwxrwx+ 1 >>>>>>>> Administrators 0  7 gen 21.26 .
dr-xr-xr-x  1 angelo       None       0  8 gen 15.46 ..

If I use Cygwin 1.7.34 with/without the /etc/{passwd,group} files the 
'?????' are changed in

   Unknown+User
   Unknown+Group

Now, you should consider that MSYS2 comes with their core DLL (the 
equivalent of cygwin1.dll), which uses the new features in 1.7.34 test: 
indeed the don't install anymore /etc/{passwd,group} file but a default 
/etc/nsswitch.conf file,

$ cat /etc/nsswitch.conf
# Begin /etc/nsswitch.conf

passwd: files db
group: files db

db_enum: cache builtin

db_home: cygwin desc
db_shell: cygwin desc
db_gecos: cygwin desc

# End /etc/nsswitch.conf


This seems invalidate the initial guess:


   If re-installation created new SID's for you machine, than the old

   SID stored in the USB STICK file descriptors are not recognized.


After all, if that was the reason, why on OSX the usb key is "seen" 
correctly?

Ciao,
  Angelo.


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

