[OS X Emacs] Opening and saving files as root
Roland Whitehead
rolandw at mac.com
Mon Nov 19 04:36:37 EST 2007
Using the built in emacs from terminal, it is easy to open a file as
root
sudo emacs path/to/myfile.txt
and from then on that instance of emacs runs as root. I can do
similar with a remote volume using tramp from Aquamacs
/ssh:root at mymachine.mydomain.com:/path/to/myfile.txt
but what I can't work out how to do is do the same using Aquamacs and
my local machine save using the shell to open Aquamacs as root in the
first place. I've found sudo.el but that just seems to cope with
saving rather than opening.
Suggestions appreciated!
Roland
More information about the MacOSX-Emacs
mailing list