[Top][All Lists]

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

Re: /sudo:<user>@<file> works, /sudo:<user>@localhost:/<file>

From: Michael Albinus
Subject: Re: /sudo:<user>@<file> works, /sudo:<user>@localhost:/<file> doesn't
Date: Tue, 22 Jan 2008 15:37:48 +0100
User-agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/21.3 (hpux)

Gilles Pion <address@hidden> writes:

> [tramp version 2.1.12]
> I think there is  somewhere a too much optimistic assumption regarding short
> tracks taken when tramp-local-host-p is true

> 14:43:16 tramp-send-command (6) # cp -f /home/getlogs/.profile
> /tmp/U501680/tramp.303186uYe
> 14:43:16 tramp-wait-for-regexp (6) # 
> cp: /tmp/U501680/tramp.303186uYe: Permission denied

Looks like /tmp/U501680 hasn't enough permissions. Is it your local
temp directory? Does it have write permissions for the world?

> (defun tramp-local-host-p (vec) nil )

(defalias 'tramp-local-host-p 'ignore)

> Gilles

Best regards, Michael.

reply via email to

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