[OS X Emacs] Opening and saving files as root

Peter Dyballa Peter_Dyballa at Web.DE
Mon Nov 19 05:12:36 EST 2007


Am 19.11.2007 um 10:36 schrieb Roland Whitehead:

> Suggestions appreciated!

	M-x eshell RET
	cd /sudo::/private/etc RET

or

	C-x C-f /sudo::/etc/passwd RET	;; not really recommended, just bad  
example

or

	C-x d /sudo::/ RET

TRAMP is needed for this all.

--
Greetings

   Pete

"Isn't vi that text editor with two modes... one that beeps and one
that corrupts your file?" -- Dan Jacobson, on comp.os.linux.advocacy





More information about the MacOSX-Emacs mailing list