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:from:to:subject:references:date:in-reply-to :message-id:mime-version:content-type; q=dns; s=default; b=kKFGA 30VT6LkfJO4i1OCj5J/R0ehdcpDB/txt2pKHPIkrm6L62uWS74NfopMlW13HB1NQ WAucmeGDMYT+dKXt4Z8AGM6UEIF69vfbrvz2O6apCLSlJQwJHDt4Gv+Frpvqr6Sk IGI6vjpf7/r9e996W05NVKK5IR/kUwq1MuXxMo= 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:from:to:subject:references:date:in-reply-to :message-id:mime-version:content-type; s=default; bh=WnkMMinYtOd pO/Pa7cexMMmIsqg=; b=POYuxeNUsaG75rVOOC+LfCfYsEQJ+a+spo6YrE5onA2 CHWM+4EUCxAeerljy082FtbcwMVKaN9npM6laEBhN7z9gPynbNb/FLSXqVIlPvsZ 7bUplk5t4GN0SD4q1F5di4081iO0CF8XpiPvuII7A6E+4W+7z3WLrwbQKFeNH+5U = Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , 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=-1.7 required=5.0 tests=AWL,BAYES_00,SPF_PASS autolearn=ham version=3.3.2 spammy=Sound, Hx-spam-relays-external:ESMTPA, recommend X-HELO: vsmx011.vodafonemail.xion.oxcs.net From: Achim Gratz To: cygwin AT cygwin DOT com Subject: Re: How to handle changed user ID References: <03c139ef-2ef9-e4bb-e8d8-11e8a1e00e9c AT towo DOT net> Date: Thu, 07 Dec 2017 21:08:30 +0100 In-Reply-To: <03c139ef-2ef9-e4bb-e8d8-11e8a1e00e9c@towo.net> (Thomas Wolff's message of "Thu, 7 Dec 2017 08:50:18 +0100") Message-ID: <874lp2e1xd.fsf@Rainer.invalid> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-VADE-STATUS: LEGIT Thomas Wolff writes: > Is there a canonical solution to this problem, other than running chown > -R $USER ~ ? Be careful with any recursive option, it can descend into paths you really don't want it to go. If what you need to do is any more difficult than just taking ownership using the new SID, I can recommend a program called "subinacl", it's a download from Microsoft. > Can the new user be forced to use the previous user ID? Not that I know of, no. A SID will never be reused. Achim. -- +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+ Factory and User Sound Singles for Waldorf rackAttack: http://Synth.Stromeko.net/Downloads.html#WaldorfSounds -- 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