bugzilla-daemon at mindrot.org
2002-Jul-19  13:01 UTC
[Bug 365] New: .ssh/environment not read when home = /
http://bugzilla.mindrot.org/show_bug.cgi?id=365
           Summary: .ssh/environment not read when home = /
           Product: Portable OpenSSH
           Version: -current
          Platform: ix86
        OS/Version: Cygwin on NT/2k
            Status: NEW
          Severity: normal
          Priority: P2
         Component: sshd
        AssignedTo: openssh-unix-dev at mindrot.org
        ReportedBy: bradshaw at staff.crosswalk.com
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.
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
Reasonably Related Threads
- [Bug 365] .ssh/environment not read when home = /
- [Bug 76] New: scp won't transfer files to or from the root under Cygwin
- [PATCH]: sftp: Avoid paths beginning with "//"
- [Bug 365] .ssh/environment not read when home = /
- [Bug 76] scp won't transfer files to or from the root under Cygwin
