aboutsummaryrefslogtreecommitdiffstats
path: root/doc/misc
diff options
context:
space:
mode:
authorMichael Albinus2018-04-19 11:04:01 +0200
committerMichael Albinus2018-04-19 11:04:01 +0200
commit4e464fa98ae677451b4e4b722b0cf545a97ebbba (patch)
treee694e794300787c87224eb761e833e15f2572713 /doc/misc
parent0ac64af1d4a9ff8af0f6418b81fc7ea6eed465db (diff)
downloademacs-4e464fa98ae677451b4e4b722b0cf545a97ebbba.tar.gz
emacs-4e464fa98ae677451b4e4b722b0cf545a97ebbba.zip
Handle chrooted environments in Tramp
* doc/misc/tramp.texi (Frequently Asked Questions): New item, chrooted environments. * lisp/net/tramp.el (tramp-local-host-regexp): Make it a defcustom. Allow nil. (tramp-local-host-p): * lisp/net/tramp-sh.el (tramp-compute-multi-hops): Handle this.
Diffstat (limited to 'doc/misc')
-rw-r--r--doc/misc/tramp.texi11
1 files changed, 11 insertions, 0 deletions
diff --git a/doc/misc/tramp.texi b/doc/misc/tramp.texi
index f0ea073ed09..7ae7150930a 100644
--- a/doc/misc/tramp.texi
+++ b/doc/misc/tramp.texi
@@ -3294,6 +3294,7 @@ Keep the file @option{tramp-persistency-file-name}, which is where
3294@value{tramp} caches remote information about hosts and files. Caching 3294@value{tramp} caches remote information about hosts and files. Caching
3295is enabled by default. Don't disable it. 3295is enabled by default. Don't disable it.
3296 3296
3297@vindex remote-file-name-inhibit-cache
3297Set @code{remote-file-name-inhibit-cache} to @code{nil} if remote 3298Set @code{remote-file-name-inhibit-cache} to @code{nil} if remote
3298files are not independently updated outside @value{tramp}'s control. 3299files are not independently updated outside @value{tramp}'s control.
3299That cache cleanup will be necessary if the remote directories or 3300That cache cleanup will be necessary if the remote directories or
@@ -3428,6 +3429,16 @@ first saving to a temporary file.
3428 3429
3429 3430
3430@item 3431@item
3432@value{tramp} fails in a chrooted environment
3433
3434@vindex tramp-local-host-regexp
3435When connecting to a local host, @value{tramp} uses some internal
3436optimizations. They fail, when there is a chrooted environment. In
3437order to disable those optimizations, set user option
3438@option{tramp-local-host-regexp} to @code{nil}.
3439
3440
3441@item
3431@value{tramp} does not recognize if a @command{ssh} session hangs 3442@value{tramp} does not recognize if a @command{ssh} session hangs
3432 3443
3433@command{ssh} sessions on the local host hang when the network is 3444@command{ssh} sessions on the local host hang when the network is