Commit 90075e8e authored by Michael Albinus's avatar Michael Albinus
Browse files

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.
parent c355529b
...@@ -992,7 +992,7 @@ If FILE-SYSTEM is non-nil, return file system attributes." ...@@ -992,7 +992,7 @@ If FILE-SYSTEM is non-nil, return file system attributes."
(tramp-file-mode-from-int (string-to-number n)) (tramp-file-mode-from-int (string-to-number n))
(format (format
"%s%s%s%s------" "%s%s%s%s------"
(if dirp "d" "-") (if dirp "d" (if res-symlink-target "l" "-"))
(if (equal (cdr (assoc "access::can-read" attributes)) (if (equal (cdr (assoc "access::can-read" attributes))
"FALSE") "FALSE")
"-" "r") "-" "r")
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment