Fix symlink flag in tramp-gvfs-handle-file-attributes

* lisp/net/tramp-gvfs.el (tramp-gvfs-handle-file-attributes):
Set proper symlink file mode flag.
This commit is contained in:
Michael Albinus 2017-11-18 15:08:32 +01:00
parent c355529bae
commit 90075e8e1e

View file

@ -992,7 +992,7 @@ If FILE-SYSTEM is non-nil, return file system attributes."
(tramp-file-mode-from-int (string-to-number n))
(format
"%s%s%s%s------"
(if dirp "d" "-")
(if dirp "d" (if res-symlink-target "l" "-"))
(if (equal (cdr (assoc "access::can-read" attributes))
"FALSE")
"-" "r")