This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: [ANNOUNCEMENT] TEST RELEASE: Cygwin 1.7.34-003
- From: Angelo Graziosi <angelo dot graziosi at alice dot it>
- To: cygwin at cygwin dot com
- Date: Thu, 08 Jan 2015 16:15:40 +0100
- Subject: Re: [ANNOUNCEMENT] TEST RELEASE: Cygwin 1.7.34-003
- Authentication-results: sourceware.org; auth=none
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