GNU bug report logs - #10173
24.0.50; TRAMP sudo method not working on OS X

Previous Next

Package: emacs;

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

From: Michael Welsh Duggan <md5i <at> md5i.com>
To: Michael Albinus <michael.albinus <at> gmx.de>
Cc: 10173 <at> debbugs.gnu.org
Subject: bug#10173: 24.0.50; TRAMP sudo method not working on OS X
Date: Thu, 01 Dec 2011 19:44:38 -0500
Michael Albinus <michael.albinus <at> gmx.de> writes:

> 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

Thank you.  The way the Mac deals with applications is still strange to
me.  When I "installed" the newly built version of emacs, it didn't end
up where I expected, and as a result I was running an older copy of
Emacs.  The problem I was seeing is now gone.  You can close the
report.

-- 
Michael Welsh Duggan
(md5i <at> md5i.com)




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.