delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2015/01/07/11:59:04

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:message-id:date:from:mime-version:to:subject
:references:in-reply-to:content-type:content-transfer-encoding;
q=dns; s=default; b=uqrXctZd4Y1CsikYLksrCJlG+Ii8U7yU5O7yWe1C0Ei
yQ4DcTyYy5ovwUHmw8hVA9VPUktZGDTee0dhgMpp1N8iVO9C9JdKKfH5kxRiE6yS
xhr3970vqWqolE52L82a7F3V214xTLQK4KKKeDvRg4PqdcokRlz0MBsNO4MlRy1U
=
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
:references:in-reply-to:content-type:content-transfer-encoding;
s=default; bh=cRf8oWyjRHi0pWvHXAVR8+UjWlE=; b=JNo0cbXj8YikX6lax
nTi+KF8AitPNv0QAMCE7WHinbF8k565H9FRyKA1/SBqxsrXdElcyD+9rJomouqRK
SPSwJrztdAdcShkrCWK+EgfJdgtiW0bsv61zkJUD7oqTTu8Or6+IEn3jehRCRQaG
Iea9INMtIsudyWL51ZQOb1wMIw=
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.4 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2
X-HELO: mail-we0-f179.google.com
X-Received: by 10.180.91.201 with SMTP id cg9mr7406401wib.63.1420636924807; Wed, 07 Jan 2015 05:22:04 -0800 (PST)
Message-ID: <54AD32F2.2070307@gmail.com>
Date: Wed, 07 Jan 2015 14:21:54 +0100
From: Marco Atzeri <marco DOT atzeri AT gmail DOT com>
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 AT cygwin DOT com
Subject: Re: [ANNOUNCEMENT] TEST RELEASE: Cygwin 1.7.34-003
References: <C8A6B23E-4394-4B2E-9610-05E3FAE4692D AT gmail DOT com>
In-Reply-To: <C8A6B23E-4394-4B2E-9610-05E3FAE4692D@gmail.com>
X-IsSubscribed: yes


On 1/7/2015 2:05 PM, Angelo Graziosi wrote:
> Corinna Vinschen wrote:
>> I released another TEST version of the next upcoming Cygwin release.
>> The version number is 1.7.34-003.
>>
> For almost an year I have used, on Win7 U 64 and Cygwin 64, an USB key (to backup my Cygwin HOME), formatted NTFS, both with Cygwin 1.7.33 (i.e. using /etc/{group,passwd}) and test Cygwin (like 1.7.34 using only a default nsswitch.conf). On this USB key the files and folders had alway owner ‘angelo’ and group ’None’.
>
> Now I  reinstalled from scratch Win7 U 64 (the same, only I used an usb bootable instead of CD/DVD), and so reinstalled Cygwin64.
>
> To reinstall Cygwin 64 I did this:
>
> 1. Installed the default (next, next,.. in setup-x86_64.exe), i.e. Cygwin 1.7.33
> 2. I didn’t start Cygwin but with Explorer I renamed /etc/group in /etc/group-save and the same for passed.
> 3. Copied nsswithch.conf from my backups (it contains the default)
> 4. Restarted setup-x86_64.exe and installed the test release, i.e. Cygwin 1.7.34.
>
> Now on that USB key the files and folders have owner ‘Unknown+User’ and group ‘Unknown+Group’. I have also some difficulties in having full control. Sometimes I have to start MinTTY as administrator.
>
> Are all these facts to be expected with 1.7.34 in a new reinstallation of the OS?

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

Compare the output of /usr/bin/mkpasswd.exe
with a previous copy of /etc/passwd, if available

Or look with windows explorer at "properties->security" for
some of the files in the STICK


> For example, when I use that USB key on OS X (which can only read NTFS partitions), the files have owener ‘angelo’ and group ’staff’ as on my OS X HOME.
>
> To summarize, the same USB key has:
>
>
>                          OS                                                      OWENER              GROUP
>
> Cygwin 1.7.33/34 before OS reinstallation                    angelo                   None
>
> Cygwin 1.7.34 after OS reinstallation                    Unknown+User        Unknown+Group

probably chown / chgrp will be helpful

>
> OSX 10.10                                                                   angelo                      staff
>
>
> Ciao,
>   Angelo.
> --

Regards
Marco


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