bugzilla-daemon at bugzilla.mindrot.org
2011-May-06 12:28 UTC
[Bug 1902] New: persistent mux master should chdir away from the current directory
https://bugzilla.mindrot.org/show_bug.cgi?id=1902 Summary: persistent mux master should chdir away from the current directory Product: Portable OpenSSH Version: 5.8p2 Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2 Component: ssh AssignedTo: unassigned-bugs at mindrot.org ReportedBy: Bert.Wesarg at googlemail.com The persistent mux master keeps the same pwd where the initial call to ssh/scp happen. This is bad because this may be a mountpoint from an USB stick or sshfs, which can't be unmounted since than. There are three possible proposals where to change into: * the directory where the mux socket is in * the users home directory * the directory where the UserKnownHostsFile file is in -- Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching the assignee of the bug.
bugzilla-daemon at bugzilla.mindrot.org
2011-May-20 02:25 UTC
[Bug 1902] persistent mux master should chdir away from the current directory
https://bugzilla.mindrot.org/show_bug.cgi?id=1902 --- Comment #1 from Damien Miller <djm at mindrot.org> 2011-05-20 12:25:29 EST --- Created attachment 2049 --> https://bugzilla.mindrot.org/attachment.cgi?id=2049 /home/djm/bz1902.diff chdir to dirname(ControlPath) -- Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching the assignee of the bug.
bugzilla-daemon at bugzilla.mindrot.org
2011-May-20 02:27 UTC
[Bug 1902] persistent mux master should chdir away from the current directory
https://bugzilla.mindrot.org/show_bug.cgi?id=1902 Damien Miller <djm at mindrot.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |djm at mindrot.org --- Comment #2 from Damien Miller <djm at mindrot.org> 2011-05-20 12:27:18 EST --- Unfortunately, I just thought of an annoying wrinkle: this will break any relative paths to known hosts files. Perhaps these should be run through derelativise_path() first? -- Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching the assignee of the bug. You are watching someone on the CC list of the bug.
Reasonably Related Threads
- [Bug 1902] persistent mux master should chdir away from the current directory
- [Bug 1902] persistent mux master should chdir away from the current directory
- [Bug 1883] New: use setproctitle for persistent mux master
- [Bug 2679] New: ssh mux process (and maybe others) should perhaps cd /
- [Bug 2002] New: [mux.c] fix memory leak of control path if bind() fails