aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorMichael Albinus2020-06-12 20:17:02 +0200
committerMichael Albinus2020-06-12 20:17:02 +0200
commit459bd56f46af8cd7c29965600c46387282c3c93f (patch)
tree47f2f4b4b0071db3df38da22b8fadfea43ec9345 /doc
parent54efe18959591faa1087051c878abe470f53a28f (diff)
downloademacs-459bd56f46af8cd7c29965600c46387282c3c93f.tar.gz
emacs-459bd56f46af8cd7c29965600c46387282c3c93f.zip
Further fixes while testing tramp-crypt
* doc/misc/tramp.texi (External methods): Remove experimental note for rclone. (Keeping files encrypted): Mark file encryption as experimental. * lisp/net/tramp-adb.el (tramp-adb-file-name-handler-alist): Use `tramp-handle-file-truename'. (tramp-adb-handle-file-truename): Remove. * lisp/net/tramp-crypt.el (tramp-crypt-file-name-handler-alist): Add `file-writable-p'. (tramp-crypt-send-command): Return t if no error. (tramp-crypt-do-encrypt-or-decrypt-file-name) (tramp-crypt-do-encrypt-or-decrypt-file): Raise an error if it fails. (tramp-crypt-do-copy-or-rename-file): Flush file properties also when copying a directory. (tramp-crypt-handle-file-writable-p): New defun. (tramp-crypt-handle-insert-directory): Check for library `text-property-search'. * lisp/net/tramp-gvfs.el (tramp-gvfs-handle-set-file-uid-gid): Rename from `tramp-gvfs-set-file-uid-gid'. * lisp/net/tramp-sh.el (tramp-sh-handle-file-truename): Use `tramp-handle-file-truename' as fallback. * lisp/net/tramp.el (tramp-handle-file-truename): Let-bind `tramp-crypt-enabled' to nil. (tramp-handle-write-region): Set also file ownership. * test/lisp/net/tramp-tests.el (tramp-test17-insert-directory): Skip if needed.
Diffstat (limited to 'doc')
-rw-r--r--doc/misc/tramp.texi7
1 files changed, 4 insertions, 3 deletions
diff --git a/doc/misc/tramp.texi b/doc/misc/tramp.texi
index 176d3a5b1e0..eb0bf743bec 100644
--- a/doc/misc/tramp.texi
+++ b/doc/misc/tramp.texi
@@ -1185,9 +1185,6 @@ for accessing the system storage, you shall prefer this.
1185@ref{GVFS-based methods} for example, methods @option{gdrive} and 1185@ref{GVFS-based methods} for example, methods @option{gdrive} and
1186@option{nextcloud}. 1186@option{nextcloud}.
1187 1187
1188@strong{Note}: The @option{rclone} method is experimental, don't use
1189it in production systems!
1190
1191@end table 1188@end table
1192 1189
1193 1190
@@ -1732,6 +1729,7 @@ Convenience method to access vagrant boxes. It is often used in
1732multi-hop file names like 1729multi-hop file names like
1733@file{@value{prefix}vagrant@value{postfixhop}box|sudo@value{postfixhop}box@value{postfix}/path/to/file}, 1730@file{@value{prefix}vagrant@value{postfixhop}box|sudo@value{postfixhop}box@value{postfix}/path/to/file},
1734where @samp{box} is the name of the vagrant box. 1731where @samp{box} is the name of the vagrant box.
1732
1735@end table 1733@end table
1736 1734
1737 1735
@@ -2655,6 +2653,9 @@ to direct all auto saves to that location.
2655@section Protect remote files by encryption 2653@section Protect remote files by encryption
2656@cindex Encrypt remote directories 2654@cindex Encrypt remote directories
2657 2655
2656@strong{Note}: File encryption in @value{tramp} is experimental, don't
2657use it in production systems!
2658
2658Sometimes, it is desirable to protect files located on remote 2659Sometimes, it is desirable to protect files located on remote
2659directories, like cloud storages. In order to do this, you might 2660directories, like cloud storages. In order to do this, you might
2660instruct @value{tramp} to encrypt all files copied to a given remote 2661instruct @value{tramp} to encrypt all files copied to a given remote