Greetings, David Balažic!

> I started Cygwin Terminal to find out, I landed in the other users
> home folder and have no write access.

> What happened was:
>  - log into Windows as domain user DOM\JOE
>  - start cygwin shell, land in /home/joe
>  - log into Windows as local user JOE
>  - start cygwin shell, land in /home/joe , but with no write access,
> as it belongs to other user according to Windows


> Is this a known issue? Should cygwin use a different username?

This is a caveat of the default nsswitch configuration in Cygwin.
It uses home directories inside Cygwin's own directory tree by default and
name them after username without domain, but you can configure it to either
use a different home directory name or just use user's profile as home
directory. Which is, if you ask me, way more logical.

Be aware of the noacl flag for mounting directories outside Cygwin tree, or
you may surprise your Windows applications with less than trivial ACE setups
generated by Cygwin in "strict POSIX" mode.


-- 
With best regards,
Andrey Repin
Friday, October 30, 2020 10:25:49

Sorry for my terrible english...
--
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

Reply via email to