public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Andrey Repin <anrdaemon@yandex.ru>
To: Thomas Schweikle <tschweikle@bfs.de>, cygwin@cygwin.com
Subject: Re: Changing user home to overlap Windows user home possible? Or a bad idea?
Date: Sat, 8 Apr 2023 11:30:47 +0300	[thread overview]
Message-ID: <174205789.20230408113047@yandex.ru> (raw)
In-Reply-To: <5eae9f1f-9d58-d8a1-cf43-e6eeb77c7e1b@bfs.de>

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\<user>" 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\<user>" and "C:\Users\<user>".
> 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...


  reply	other threads:[~2023-04-08  8:35 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-04-07 20:48 Thomas Schweikle
2023-04-08  8:30 ` Andrey Repin [this message]
2023-04-11 20:42   ` Thomas Schweikle
2023-04-11 22:16     ` Andrey Repin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=174205789.20230408113047@yandex.ru \
    --to=anrdaemon@yandex.ru \
    --cc=cygwin@cygwin.com \
    --cc=tschweikle@bfs.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).