From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: iainb.forms@googlemail.com Newsgroups: gmane.emacs.help Subject: Re: Files created with emacs are owned by system Date: Fri, 1 Aug 2008 06:16:17 -0700 (PDT) Organization: http://groups.google.com Message-ID: <85d947db-d9c2-451b-ac8b-d04fa8171ec0@w7g2000hsa.googlegroups.com> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1217598232 14256 80.91.229.12 (1 Aug 2008 13:43:52 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 1 Aug 2008 13:43:52 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Aug 01 15:44:42 2008 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1KOuuf-0000q0-LH for geh-help-gnu-emacs@m.gmane.org; Fri, 01 Aug 2008 15:43:21 +0200 Original-Received: from localhost ([127.0.0.1]:58877 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KOutk-0006Nm-P7 for geh-help-gnu-emacs@m.gmane.org; Fri, 01 Aug 2008 09:42:24 -0400 Original-Path: news.stanford.edu!newsfeed.stanford.edu!postnews.google.com!w7g2000hsa.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 30 Original-NNTP-Posting-Host: 88.108.234.15 Original-X-Trace: posting.google.com 1217596578 16071 127.0.0.1 (1 Aug 2008 13:16:18 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Fri, 1 Aug 2008 13:16:18 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: w7g2000hsa.googlegroups.com; posting-host=88.108.234.15; posting-account=fg40GQoAAAAbcg_X6oBFLMqLD20ppQOs User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X; en-US) AppleWebKit/523 (KHTML, like Gecko, Safari/523.10) OmniWeb/v621.0.99313, gzip(gfe), gzip(gfe) Original-Xref: news.stanford.edu gnu.emacs.help:160779 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:56128 Archived-At: On Aug 1, 12:52=A0pm, Peter Dyballa wrote: > Am 01.08.2008 um 13:32 schrieb iainb.forms: > > > -rw-r--r-- =A0 =A01 root =A0 iainb =A0 =A0 =A0 8 Aug =A01 12:27 Dummyfi= le.hs > > This file is owned by root =96 not by you. > > You should try: > > =A0 =A0 =A0 =A0 sudo chown -R iainb:iainb ~iainb > > log off and in again. > > -- > Greetings > > =A0 =A0Pete > > Without vi there is only GNU Emacs What I'm really looking for is a way to stop emacs saving files as root, or else I'm going to have to run chown every time I create a file, or create the file using touch and then open it in emacs. Neither of these is an optimal solution. Surely there must be some sort of setting that tells emacs who to save files as? Regards, Iain