From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Armin Goralczyk Newsgroups: gmane.emacs.help Subject: Edit file write protected by superuser rigths Date: Mon, 8 Aug 2005 22:47:58 +0200 Message-ID: <0FD56944-1421-4898-B4E2-B14A31BE09C3@gmail.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 (Apple Message framework v733) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1123534838 11939 80.91.229.2 (8 Aug 2005 21:00:38 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 8 Aug 2005 21:00:38 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Aug 08 23:00:36 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1E2Ei3-0008RY-10 for geh-help-gnu-emacs@m.gmane.org; Mon, 08 Aug 2005 22:58:59 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1E2El4-0005D7-Ky for geh-help-gnu-emacs@m.gmane.org; Mon, 08 Aug 2005 17:02:06 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1E2EhV-0003Sn-Ht for help-gnu-emacs@gnu.org; Mon, 08 Aug 2005 16:58:26 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1E2EhM-0003My-7K for help-gnu-emacs@gnu.org; Mon, 08 Aug 2005 16:58:18 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1E2EhL-0003JF-7g for help-gnu-emacs@gnu.org; Mon, 08 Aug 2005 16:58:15 -0400 Original-Received: from [64.233.170.199] (helo=rproxy.gmail.com) by monty-python.gnu.org with esmtp (Exim 4.34) id 1E2Elr-0003xE-TW for help-gnu-emacs@gnu.org; Mon, 08 Aug 2005 17:02:56 -0400 Original-Received: by rproxy.gmail.com with SMTP id y7so1044657rne for ; Mon, 08 Aug 2005 13:48:41 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:mime-version:content-transfer-encoding:message-id:content-type:to:from:subject:date:x-mailer; b=fzFMqiGY8gt1lycxSNF1qUvL4oDu4YhiNOsPoUpUaxMGT/y3V0w+L9xvrKLOt9Tw6ui/chJSSNebQQH5+CMRITMOgwpGoMqcKhpv5NtA9N+4F2MWc9IWmtWxuNOOXV2xtHp4wCcCepP82ZOX0hpqpMH5g4xcZSt0RkrSK2jhjbg= Original-Received: by 10.39.3.19 with SMTP id f19mr2694560rni; Mon, 08 Aug 2005 13:48:41 -0700 (PDT) Original-Received: from ?192.168.1.11? ([84.132.252.211]) by mx.gmail.com with ESMTP id h19sm5338569rnb.2005.08.08.13.48.36; Mon, 08 Aug 2005 13:48:41 -0700 (PDT) Original-To: help-gnu-emacs@gnu.org X-Mailer: Apple Mail (2.733) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:28563 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:28563 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