[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Edit file write protected by superuser rigths
From: |
Sebastian Luque |
Subject: |
Re: Edit file write protected by superuser rigths |
Date: |
Mon, 08 Aug 2005 17:47:58 -0500 |
User-agent: |
Gnus/5.110004 (No Gnus v0.4) Emacs/21.4 (gnu/linux) |
Armin Goralczyk <agoralczyk@gmail.com> wrote:
[...]
> So how can I save the file provided that I can have superuser rights?
You can use the tramp package for this. Once properly installed and
available in your session, you can do 'C-x C-f /su::/path/to/file',
provide your superuser password, and you'll be editing the file as
superuser thereafter. Watch out for a nasty bug that bit me with kernel
2.6.10 (http://thread.gmane.org/gmane.emacs.devel/37967).
--
Sebastian P. Luque
Re: Edit file write protected by superuser rigths,
Sebastian Luque <=
Message not available