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

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

bug#10489: 24.0.92; dired-do-copy may create infinite directory hierarch


From: Thierry Volpiatto
Subject: bug#10489: 24.0.92; dired-do-copy may create infinite directory hierarchy
Date: Sun, 15 Jan 2012 18:28:08 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.92 (gnu/linux)

Thanks Michael for explanation.

Michael Albinus <address@hidden> writes:

> Thierry Volpiatto <address@hidden> writes:
>
>> How do you compare two files with file-attributes?
>> Locally, equal is ok, but when using /sudo::.. the gid-change, inode
>> and device-num are differents:
>
> This must be implemented by respective file name handlers, like
> `tramp-handle-file-equal-p', `ange-ftp-file-equal-p', `url-file-equal-p' ...
>
>> /sudo::/home/thierry/Test
>>
>> (:type t :links 2 :uid "thierry" :gid "thierry" :access-time
>>        (20241 21214)
>>        :modif-time
>>        (20241 20731)
>>        :status
>>        (20241 20731)
>>        :size 4096 :mode "drwxrwxr-x" :gid-change t 
>>        :inode (70 . 10917)
>>        :device-num (-1 . 0))
>
> `tramp-*-handle-file-attributes' create virtual inodes and device
> numbers. They cannot be used directly for comparison.
>
> Same for `ange-ftp-file-attributes'.
>
>> Thanks.
>
> Best regards, Michael.

-- 
  Thierry
Get my Gnupg key:
gpg --keyserver pgp.mit.edu --recv-keys 59F29997 





reply via email to

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