GNU bug report logs - #9879
23.3; making script executable with tramp

Previous Next

Package: emacs;

Reported by: Dan Gildea <gildea <at> pobox.com>

Date: Wed, 26 Oct 2011 19:05:02 UTC

Severity: normal

Found in version 23.3

Done: Michael Albinus <michael.albinus <at> gmx.de>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Michael Albinus <michael.albinus <at> gmx.de>
To: Glenn Morris <rgm <at> gnu.org>
Cc: 9879 <at> debbugs.gnu.org, Dan Gildea <gildea <at> pobox.com>
Subject: bug#9879: 23.3; making script executable with tramp
Date: Sun, 13 Nov 2011 11:42:33 +0100
Glenn Morris <rgm <at> 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.




This bug report was last modified 13 years and 191 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.