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

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

bug#10173: 24.0.50; TRAMP sudo method not working on OS X


From: Michael Welsh Duggan
Subject: bug#10173: 24.0.50; TRAMP sudo method not working on OS X
Date: Thu, 01 Dec 2011 19:44:38 -0500
User-agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.92 (gnu/linux)

Michael Albinus <michael.albinus@gmx.de> writes:

> Michael Welsh Duggan <md5i@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@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@md5i.com)





reply via email to

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