unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Armin Goralczyk <agoralczyk@gmail.com>
Subject: Edit file write protected by superuser rigths
Date: Mon, 8 Aug 2005 22:47:58 +0200	[thread overview]
Message-ID: <0FD56944-1421-4898-B4E2-B14A31BE09C3@gmail.com> (raw)

Hi
How can I edit a file that is write protected by superuser rights? I  
can visit the file but it is read-only. I removed read-only  
protection by C-x C-q (toggle-read-only) but after editing I cannot  
save the file. Minibuffer says:
File fink.conf is write-protected; try to save anyway? (yes or no) ->  
yes
Doing chmod: operation not permitted

So how can I save the file provided that I can have superuser rights?

Thank you
Regards
Armin

             reply	other threads:[~2005-08-08 20:47 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-08-08 20:47 Armin Goralczyk [this message]
2005-08-08 21:35 ` Edit file write protected by superuser rigths Peter Dyballa
2005-08-09 17:58   ` Armin Goralczyk
2005-08-09 18:31     ` Peter Dyballa
2005-08-09 18:59       ` Armin Goralczyk
     [not found]     ` <mailman.3145.1123612751.20277.help-gnu-emacs@gnu.org>
2005-08-25  0:53       ` David Combs
2005-08-25  8:50         ` Peter Dyballa
     [not found] ` <mailman.3062.1123538567.20277.help-gnu-emacs@gnu.org>
2005-08-08 22:02   ` William Daffer
2005-08-08 22:47 ` Sebastian Luque
     [not found] <mailman.3054.1123534713.20277.help-gnu-emacs@gnu.org>
2005-08-09  8:02 ` Tim X

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=0FD56944-1421-4898-B4E2-B14A31BE09C3@gmail.com \
    --to=agoralczyk@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).