bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#9879: 23.3; making script executable with tramp


From: Michael Albinus
Subject: bug#9879: 23.3; making script executable with tramp
Date: Sun, 13 Nov 2011 11:42:33 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.90 (gnu/linux)

Glenn Morris <rgm@gnu.org> writes:

> Hi Michael,

Hi,

> Might this be an issue with Tramp's file-modes handler?

Tramp's file name handler is very short:

(defun tramp-handle-file-modes (filename)
  "Like `file-modes' for Tramp files."
  (let ((truename (or (file-truename filename) filename)))
    (when (file-exists-p truename)
      (tramp-mode-string-to-int (nth 8 (file-attributes truename))))))

Maybe there are unexpected results for `file-truename', who knows.

Dan, could you, please, set tramp-verbose to 9 and rerun the test? There
will be a debug buffer, which you could show us for analysis.

Best regards, Michael.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]