GNU bug report logs -
#10173
24.0.50; TRAMP sudo method not working on OS X
Previous Next
Reported by: MICHAEL W DUGGAN <md5i <at> md5i.com>
Date: Wed, 30 Nov 2011 20:20:01 UTC
Severity: normal
Tags: notabug
Found in version 24.0.50
Fixed in version 24.0.90
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
Michael Welsh Duggan <md5i <at> md5i.com> writes:
> As a followup, on the Mac, stat -f '("%N" %z)' does almost the same
> thing. The difference is that under GNU/Linux, %N is surrounding the
> filename by backtick-quote, and on the Mac it does not. Now, tramp
> might be running in an environment where it does not on the GNU/Linux
> system as well. I have only tried this on the command line.
Tramp does only one check whether stat(1) returns the correct
string. When it doesn't work, it uses other commands. Therefore, it
isn't mandatory to parse different stat(1) result syntaces.
The problem in your case is that Tramp hasn't suppressed the "wrong"
(better: unexpected) string in your case. This was fixed already by:
2011-07-04 Michael Albinus <michael.albinus <at> gmx.de>
[...]
(tramp-send-command-and-read): New optional argument NOERROR.
(tramp-open-connection-setup-interactive-shell)
(tramp-get-remote-path, tramp-get-remote-stat): Use it.
Your Emacs build reports:
In GNU Emacs 24.0.50.2 (x86_64-apple-darwin10.8.0, NS apple-appkit-1038.36)
of 2011-07-23 on MICHAEL-W-DUGGANs-MacBook-Pro.local
It should contain that patch. Maybe you haven't synced your Emacs tree
with the trunk before the build?
Could you, please, check whether you find the quoted entry in
lisp/ChangeLog? If not, a simple upgrade shall solve the problem for
you.
Best regards, Michael.
This bug report was last modified 13 years and 172 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.