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

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

Re: copying in dired with sudo permissions


From: Kevin Rodgers
Subject: Re: copying in dired with sudo permissions
Date: Fri, 31 Oct 2003 13:21:22 -0700
User-agent: Mozilla/5.0 (X11; U; SunOS i86pc; en-US; rv:0.9.4.1) Gecko/20020406 Netscape6/6.2.2

Leo wrote:

in dired i want to copy file to a directory which only root can write.

in a shell i could do the copying via sudo cp <from> <to>. any idea how i can tell dired to use "sudo cp" instead of "cp" and how do i provide then the sudo password?

You don't.  Instead, you specify the file using ange-ftp or tramp syntax, e.g

/root@localhost:/only-root-could-write-this-file.txt


--
Kevin Rodgers



reply via email to

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