From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from forward502c.mail.yandex.net (forward502c.mail.yandex.net [178.154.239.210]) by sourceware.org (Postfix) with ESMTPS id 130083858D1E for ; Sat, 8 Apr 2023 08:35:06 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 130083858D1E Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=yandex.ru Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=yandex.ru Received: from mail-nwsmtp-smtp-production-main-44.sas.yp-c.yandex.net (mail-nwsmtp-smtp-production-main-44.sas.yp-c.yandex.net [IPv6:2a02:6b8:c14:440b:0:640:fa3a:0]) by forward502c.mail.yandex.net (Yandex) with ESMTP id 50B055E7D6; Sat, 8 Apr 2023 11:35:02 +0300 (MSK) Received: by mail-nwsmtp-smtp-production-main-44.sas.yp-c.yandex.net (smtp/Yandex) with ESMTPSA id 1ZN69XdWnOs0-0dcyMZB0; Sat, 08 Apr 2023 11:35:01 +0300 X-Yandex-Fwd: 1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1680942901; bh=xys4WI0isI3gb0FdZGm2dD3Xb2MA7gpXb8rSF846t+4=; h=In-Reply-To:Subject:Date:References:To:Message-ID:Reply-To:From; b=uiRbGHA1U3EF2VyGm5DMlSRZoTozrpFEXSJ7d64mkUMdduz3l/Jib3rboWf0EqBYw jRjKg/kY3SCaxUUIhCMp+91Aw6bm0Ft/ZMBVj1cQ4GiaFFWlX/Yr5kwxlH61QUnume iC39oGmwgOhw9NnUwgjjt6MpDRzUAA2DF9iAT4Qc= Authentication-Results: mail-nwsmtp-smtp-production-main-44.sas.yp-c.yandex.net; dkim=pass header.i=@yandex.ru Received: from [192.168.1.10] (HELO daemon2.darkdragon.lan) by daemon2 (Office Mail Server 0.8.12 build 08053101) with SMTP; Sat, 08 Apr 2023 08:30:47 -0000 Date: Sat, 8 Apr 2023 11:30:47 +0300 From: Andrey Repin X-Mailer: The Bat! (v9.3.4) Professional Reply-To: cygwin@cygwin.com Message-ID: <174205789.20230408113047@yandex.ru> To: Thomas Schweikle , cygwin@cygwin.com Subject: Re: Changing user home to overlap Windows user home possible? Or a bad idea? In-Reply-To: <5eae9f1f-9d58-d8a1-cf43-e6eeb77c7e1b@bfs.de> References: <5eae9f1f-9d58-d8a1-cf43-e6eeb77c7e1b@bfs.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-0.8 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,KAM_THEBAT,NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS,TXREP autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: Greetings, Thomas Schweikle! > Is it possible to have the same home for Windows and cygwin? See /etc/nsswitch.conf and https://cygwin.com/cygwin-ug-net/ntsec.html#ntsec-mapping-nsswitch > Using "C:\Users\" for Cygwin home setting mount points for users? I don't get this question. Can you please rephrase? > Or is this a bad idea? Or is it something which has some drawbacks you've > to decide to live with? At the moment the most ugly drawback is duplication > of various data needed within "C:\cygwin\home\" and "C:\Users\". > Would be nice if I could overlay both. There's some caveats to using %USERPROFILE% as $HOME, most notable, you have to be careful with overly sensitive programs, like SSH or GPG. Other than that, the noacl flag on the cygdrive mount will cover you for the time being. I.e.: >> none /cygdrive cygdrive noacl,binary,nouser,posix=0 0 0 And usertemp idea is also a good one: >> none /tmp usertemp binary,nouser,posix=0 0 0 -- With best regards, Andrey Repin Saturday, April 8, 2023 11:09:33 Sorry for my terrible english...