From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: William Daffer Newsgroups: gmane.emacs.help Subject: Re: Edit file write protected by superuser rigths Date: 08 Aug 2005 15:02:50 -0700 Message-ID: References: <0FD56944-1421-4898-B4E2-B14A31BE09C3@gmail.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1123556872 2089 80.91.229.2 (9 Aug 2005 03:07:52 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 9 Aug 2005 03:07:52 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Aug 09 05:07:45 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1E2KSM-0008Hc-Lx for geh-help-gnu-emacs@m.gmane.org; Tue, 09 Aug 2005 05:07:10 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1E2KVP-0000vC-1N for geh-help-gnu-emacs@m.gmane.org; Mon, 08 Aug 2005 23:10:19 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews.google.com!news4.google.com!news.glorb.com!border1.nntp.dca.giganews.com!local01.nntp.dca.giganews.com!news.giganews.com.POSTED!not-for-mail Original-NNTP-Posting-Date: Mon, 08 Aug 2005 22:04:45 -0500 Original-Newsgroups: gnu.emacs.help User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 Original-Lines: 21 Original-X-Trace: sv3-UEvzcp4gUH/h+ezf3W8DnsxyWE73eIeUdxOUiqmoMZHa+d4fJksJQPATVI3XSsjKgvZiP23h0QX7W8g!oBVkkhZUZyg6eTCWW7mal3PnKa5j4DfMANyZUnYBM+I4+sBQH2F20PqS6keLuoVYsM60T+mHeVKe!pmM+ye6oiViSAA== Original-X-Complaints-To: abuse@giganews.com X-DMCA-Notifications: http://www.giganews.com/info/dmca.html X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.32 Original-Xref: shelby.stanford.edu gnu.emacs.help:133059 Original-To: help-gnu-emacs@gnu.org 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:28578 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:28578 Peter Dyballa writes: > Am 08.08.2005 um 22:47 schrieb Armin Goralczyk: > > > So how can I save the file provided that I can have superuser rights? > > > > Use 'sudo chmod ... ' or 'sudo chown ... directory>' that you're allowed afterwards to save a file in that > directory. > > Or save it to your home directory and move it afterwards as root/with > sudo. Why not 'sudo emacs file'? whd -- IMBECILITY, n. A kind of divine inspiration, or sacred fire affecting censorious critics of this dictionary. -- Ambrose Bierce: _The Devil's Dictionary_