Bug 365

Summary: .ssh/environment not read when home = /
Product: Portable OpenSSH Reporter: Mark Bradshaw <bradshaw>
Component: sshdAssignee: OpenSSH Bugzilla mailing list <openssh-bugs>
Status: CLOSED FIXED    
Severity: normal    
Priority: P2    
Version: -current   
Hardware: ix86   
OS: Cygwin on NT/2k/Win7-11   
Attachments:
Description Flags
Correct .ssh/environment path under cygwin none

Description Mark Bradshaw 2002-07-19 23:00:54 AEST
Under the cygwin environment, when the user sets their home directory to root 
the .ssh/environment file isn't read in properly.  This is similar to past 
pathing problems in OpenSSH where the path that is assembled to find the file 
begins with two slashes, instead of one.  Under Cygwin this indicates a network 
share, not the root of the file system.

The attached path merely checks to see if home = / and, if so, doesn't use it 
when assembling the path to .ssh/environment.
Comment 1 Mark Bradshaw 2002-07-19 23:01:52 AEST
Created attachment 133 [details]
Correct .ssh/environment path under cygwin
Comment 2 Damien Miller 2002-09-10 21:43:45 AEST
Applied - thanks.
Comment 3 Damien Miller 2004-04-14 12:24:18 AEST
Mass change of RESOLVED bugs to CLOSED