mkotyk / mintty

Automatically exported from code.google.com/p/mintty
GNU General Public License v3.0
0 stars 0 forks source link

"\home no such file or directory" when set HOME env var. #287

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
I set HOME dir as many apps try read setting from this dir.

When I set HOME to "e:\home" I get error:

  \home no such file or directory

Then I change HOME value to 'e:/home' and mintty start work.

I suggest take more convenient error message to easy find root of mistake.

Original issue reported on code.google.com by gavenkoa on 6 Aug 2011 at 9:56

GoogleCodeExporter commented 8 years ago
I suggest s/take/to make/...

Original comment by gavenkoa on 6 Aug 2011 at 9:58

GoogleCodeExporter commented 8 years ago
That error message isn't coming from mintty, because it doesn't care whether 
$HOME is valid. (Also, the Cygwin DLL automatically translates $HOME to a POSIX 
path at startup, so apparently something went wrong there.)

Original comment by andy.koppe on 7 Aug 2011 at 7:00

GoogleCodeExporter commented 8 years ago
My fault with / and \.

I switch from XP to 7 and keep Cygwin installation with /etc/passwd and 
/etc/groups files.

After regenerating this files all work fine:

  $ mkgroup -C > /etc/group
  $ mkpasswd -l > /etc/passwd

Original comment by gavenkoa on 7 Aug 2011 at 9:29