delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2017/12/07/02:50:43

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:to:from:subject:message-id:date:mime-version
:content-type:content-transfer-encoding; q=dns; s=default; b=l8s
3cQGorFyZkEFm+AwTC+8w+iYZ/zIMKvm1ZliisPGiS0WGDm9Ce1raUSc6kH4SZQR
o25FiD6INVlZmSF1btVGgpNDqi/TiQqvWnioVBQrYfE7Y83EJEEdox1yMoWLv8+w
8/mH/nr5oqpWub6MzkqBNONxuTpdb6tpbI9L5w8w=
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:to:from:subject:message-id:date:mime-version
:content-type:content-transfer-encoding; s=default; bh=AOOYEb6Mp
hcselEw1PVOqnNM27s=; b=PvQEg/5SW5i5pvIi5PLfIyau+CRzIj6RRoyR6Tuz0
2C8ino937iEOzt29wPglqIZPIf7E1AUiFBHJRNK3qDgHXL10eBv/ItUJKMgrlnR/
cOK8WL8F6+pq/S8K+UiaHeIFqoSVqgOpBAlZFxBCNAaq0VvTH+7zEHltE4FLQ8Ft
y0=
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.6 required=5.0 tests=AWL,BAYES_50,FOREIGN_BODY,GIT_PATCH_2,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_NONE autolearn=no version=3.3.2 spammy=wurde, USER, H*RU:sk:!192.16, Hx-spam-relays-external:sk:!192.16
X-HELO: mout.kundenserver.de
To: cygwin AT cygwin DOT com
From: Thomas Wolff <towo AT towo DOT net>
Subject: How to handle changed user ID
Message-ID: <03c139ef-2ef9-e4bb-e8d8-11e8a1e00e9c@towo.net>
Date: Thu, 7 Dec 2017 08:50:18 +0100
User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:52.0) Gecko/20100101 Thunderbird/52.5.0
MIME-Version: 1.0
X-UI-Out-Filterresults: notjunk:1;V01:K0:03KwsOKPKcE=:+yrxF52+0M2ModVN/uEBF2 HGdGGX65mxRX2mL/BNdbakxlCWNN5aeOqBck6bKSAKRns0qX2CypnDxn1P/7gkvfaY1dAbDQO c3odUa2JV2RUCHXcFAkbkY1eS3MXHmIiiDwCTz7Ov1SRMG/YctjFezI/muvPqTGTEjtZt5veD rkXVwOJG0RaKoHhlhM+v9ENAZU0qykpn0TRhfKqnVsQCUzi1AHmAazafVIMhZ+rj+wxW8VmMm GD+sxKiZpy6vrxrmXz0ngvaWOstEV4wxvz/El57YfLg1DXnf0WqRFVcMQGZifdqrSxDYe2jdA +03dICcj03Fl9WKiolslrecP9YltOmFqkY3HUwSkef4HEBz1Y0lSp7bwHVHBRXciD3JLMrzRq lATQ2LOzwR1/jMlrNGmaTGzVkWsLj7Lmke2AyTs8B4WpYavml/A6C6+Ow1WC7d3nIHr932x9X 3MVyADPwAwevOW5SpvRypOgE4+TzHrNgzTWbPg5Fk+mBMdhguNaBjRRxeDIiUOucVnl204Jsl dW4T30+eFHLTsNBFiUcGkf/px2zD4bRIum3ercWWjrQubWuM3eAJ7re1xxYyvMEzLHcVxkvdZ +lhFKaEWdzV9UN9yCxA3A0A8mKdKcNDPEvxDWElaN/eeX8GQJkMhxlHx/UhGe0Q7lYnDvvRNU /ccHs9gc1R+r0NY65BEzka2YMzkiS7WGbxt+Kk/B7KhZ3A3KCbbEoxxIpao7KPMXvZxVrokdb u39BOAnKaGhKCPktHz/VdYDqOT5ilBy4snECyh/5liftBY2TVd0ocX8DHxYkVWsp7NNmhfFg6 P2DTz9E
X-IsSubscribed: yes
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id vB77ogWb002040

I had to delete a corrupted Windows account and recreate it.
For cygwin, the new account, although with the same name, has a
different user id.
Of course, this creates access problems for existing files (even if they
appear to have the same user in ls -l, because the *old user* is still
listed in /etc/passwd).
Is there a canonical solution to this problem, other than running chown
-R $USER ~ ?
Can the new user be forced to use the previous user ID?
Thanks
Thomas

---
Diese E-Mail wurde von Avast Antivirus-Software auf Viren geprüft.
https://www.avast.com/antivirus


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