GNU bug report logs - #77402
31.0.50; Tramp: file-writable-p broken

Previous Next

Package: emacs;

Reported by: Gerd Möllmann <gerd.moellmann <at> gmail.com>

Date: Mon, 31 Mar 2025 08:22:02 UTC

Severity: normal

Found in version 31.0.50

Fixed in version 30.2

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: Gerd Möllmann <gerd.moellmann <at> gmail.com>
Cc: 77402 <at> debbugs.gnu.org
Subject: bug#77402: 31.0.50; Tramp: file-writable-p broken
Date: Mon, 31 Mar 2025 11:13:18 +0200
Gerd Möllmann <gerd.moellmann <at> gmail.com> writes:

Hi Gerd,

> Soory, forgot to mention. Both are macOS 15.3.2 machines
>
> .../emacs/github/cl-packages % uname -a
> Darwin pro2 24.3.0 Darwin Kernel Version 24.3.0: Thu Jan  2 20:24:16 PST 2025; root:xnu-11215.81.4~3/RELEASE_ARM64_T6000 arm64

Hmm, I cannot reproduce the problem. Recipe:

--8<---------------cut here---------------start------------->8---
(make-directory "/ssh:ford:/tmp/yyy")
=> nil

(make-symbolic-link "/tmp/yyy" "/ssh:ford:/tmp/xxx")
=> t

(let ((default-directory "/ssh:ford:/tmp/"))
  (shell-command-to-string "ls -al"))
=> "...
lrwxrwxrwx   1 admin    administrators       8 2025-03-31 11:03 xxx -> /tmp/yyy
drwxr-xr-x   2 admin    administrators      40 2025-03-31 11:02 yyy
"

(file-writable-p "/ssh:ford:/tmp/xxx")
=> t
--8<---------------cut here---------------end--------------->8---

My local and the remote machine are running GNU/Linux.

Could you, pls, send the whole Tramp debug buffer with tramp-verbose 6,
after starting a new Emacs session?

Best regards, Michael.




This bug report was last modified 107 days ago.

Previous Next


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