[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [h-e-w] Trouble with TRAMP temp files under Windows 7
From: |
Eli Zaretskii |
Subject: |
Re: [h-e-w] Trouble with TRAMP temp files under Windows 7 |
Date: |
Tue, 03 Jan 2012 19:18:18 +0200 |
> From: "Katz, Dan" <address@hidden>
> Date: Tue, 3 Jan 2012 16:49:53 +0000
>
> But if I then move the point to the entry for the "gnu" folder and hit <RET>
> or run dired-find-file directly, I get a permission error:
> ===================================================================================
> Debugger entered--Lisp error: (file-error "Removing old name" "permission
> denied" "c:/Users/dpkatz/tmp/ange-ftp2644_Lx")
> signal(file-error ("Removing old name" "permission denied"
> "c:/Users/dpkatz/tmp/ange-ftp2644_Lx"))
> byte-code([...bunch of control codes...] [completion localname operation
> filename err zerop (file-exists-p file-directory-p) t (expand-file-name
> file-name-as-directory) signal] 3)
> tramp-file-name-handler(file-exists-p "/ftp:address@hidden:/gnu/.dired")
> file-exists-p(".dired")
> dired-hack-local-variables()
> dired-extra-startup()
> run-hooks(change-major-mode-after-body-hook dired-mode-hook)
> apply(run-hooks (change-major-mode-after-body-hook dired-mode-hook))
> run-mode-hooks(dired-mode-hook)
> dired-mode("/ftp:address@hidden:/gnu/" "-al")
> dired-internal-noselect("/ftp:address@hidden:/gnu/" nil)
> dired-noselect("/ftp:address@hidden:/gnu")
> run-hook-with-args-until-success(dired-noselect "/ftp:address@hidden:/gnu")
> find-file-noselect("/ftp:address@hidden:/gnu" nil nil nil)
> find-file("/ftp:address@hidden:/gnu")
> dired-find-file()
> call-interactively(dired-find-file t nil)
> execute-extended-command(nil)
> call-interactively(execute-extended-command nil nil)
> ===================================================================================
> This is also reliable, in the sense that I will get this error every time.
> Note that the contents of the temp file being deleted seem perfectly
> reasonable (i.e. they look like the correct and complete dired listing for
> the "gnu" folder). Also note that if I navigate over to the temp directory
> manually, I absolutely CAN delete the file in question via dired.
>
> But not every subfolder causes problems - e.g. trying to dired-find-file on
> the "mirrors" folder works fine:
> ===================================================================================
> /ftp:address@hidden:/mirrors:
> drwxr-xr-x 3 0 0 4096 Apr 20 2005 .
> drwxr-xr-x 10 0 0 4096 Sep 27 21:03 ..
> dr-xrwxr-x 2 3003 3003 4096 Oct 05 15:13 dynebolic
> ===================================================================================
If you invoke file-attributes one the file that gets "permission
denied", what do you see? That is, type
M-: (file-attributes "c:/Users/dpkatz/tmp/ange-ftp2644_Lx" 'string) RET
what does Emacs show as result? (Replace the name of the temporary
file with the one that is actually shown in the backtrace.)
- [h-e-w] Trouble with TRAMP temp files under Windows 7, Katz, Dan, 2012/01/03
- Re: [h-e-w] Trouble with TRAMP temp files under Windows 7,
Eli Zaretskii <=
- Re: [h-e-w] Trouble with TRAMP temp files under Windows 7, Katz, Dan, 2012/01/03
- Re: [h-e-w] Trouble with TRAMP temp files under Windows 7, Eli Zaretskii, 2012/01/03
- Re: [h-e-w] Trouble with TRAMP temp files under Windows 7, Katz, Dan, 2012/01/03
- Re: [h-e-w] Trouble with TRAMP temp files under Windows 7, Drew Adams, 2012/01/03
- Re: [h-e-w] Trouble with TRAMP temp files under Windows 7, Eli Zaretskii, 2012/01/03
- Re: [h-e-w] Trouble with TRAMP temp files under Windows 7, Andy Moreton, 2012/01/04
- Re: [h-e-w] Trouble with TRAMP temp files under Windows 7, Katz, Dan, 2012/01/04
- Re: [h-e-w] Trouble with TRAMP temp files under Windows 7, Jason Rumney, 2012/01/04
- Re: [h-e-w] Trouble with TRAMP temp files under Windows 7, Dan Katz, 2012/01/05
Re: [h-e-w] Trouble with TRAMP temp files under Windows 7, Michael Albinus, 2012/01/04