tramp-devel
[Top][All Lists]
Advanced

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

Re: tramp (2.0.25); Attempting to dired a directory via sudo method fail


From: Michael Albinus
Subject: Re: tramp (2.0.25); Attempting to dired a directory via sudo method fails.
Date: Mon, 09 Feb 2004 16:03:34 +0100
User-agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/20.7 (hpux)

Joseph Kiniry <address@hidden> writes:

> Here is the debug buffer from tramp:
>
> $ cd ~; pwd
> /home/itt/kiniry
> $ cd ~; pwd
> /home/itt/kiniry
>
> And here is the backtrace:
>
> Debugger entered--Lisp error: (cl-assertion-failed (equal 
> (directory-file-name dirname) dirname))
>   signal(cl-assertion-failed ((equal (directory-file-name dirname) dirname)))
>   uniquify-get-proposed-name("etc" "/sudo:kind:/home/itt/kiniry/")
>   uniquify-rationalize(([cl-struct-uniquify-item "etc" 
> "/sudo:kind:/home/itt/kiniry/" #<buffer etc<7>> nil]))
>   uniquify-rationalize-file-buffer-names("etc" "/sudo:kind:/" #<buffer 
> etc<7>>)
>   (let ((filename ...)) (uniquify-rationalize-file-buffer-names 
> (file-name-nondirectory filename) (file-name-directory filename) 
> ad-return-value))
>   (if uniquify-buffer-name-style (let (...) 
> (uniquify-rationalize-file-buffer-names ... ... ad-return-value)))
>   (let (ad-return-value) (setq ad-return-value (ad-Orig-create-file-buffer 
> filename)) (if uniquify-buffer-name-style (let ... ...)) ad-return-value)
>   create-file-buffer("/sudo:kind:/etc")
>   dired-internal-noselect("/sudo:kind:/etc/" nil)
>   dired-noselect("/sudo:kind:/etc/" nil)
>   dired("/sudo:kind:/etc/" nil)
>   call-interactively(dired)

I'm not fully sure, but "/sudo:kind:/etc/" seems to be equivalent to
"/sudo:address@hidden:/etc/". Maybe you want to use 
"/sudo:address@hidden:/etc/"?

> $ cd ~; pwd
> /home/itt/kiniry

gives me such feeling.

> Joe

Best regards, Michael.





reply via email to

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