From owner-freebsd-questions Wed Feb 13 4:53:47 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mail5.nc.rr.com (fe5.southeast.rr.com [24.93.67.52]) by hub.freebsd.org (Postfix) with ESMTP id A656A37B417 for ; Wed, 13 Feb 2002 04:53:34 -0800 (PST) Received: from i8k.babbleon.org ([66.57.85.154]) by mail5.nc.rr.com with Microsoft SMTPSVC(5.5.1877.687.68); Wed, 13 Feb 2002 00:20:36 -0500 Received: by i8k.babbleon.org (Postfix, from userid 111) id 86A7E407B; Wed, 13 Feb 2002 00:15:55 -0500 (EST) Content-Type: text/plain; charset="iso-8859-1" From: Brian T.Schellenberger To: "theVanguardian" , Subject: Re: 2 Questions Date: Wed, 13 Feb 2002 00:15:54 -0500 X-Mailer: KMail [version 1.3] References: <000001c1b44a$78ec0d80$7d2b2c42@anant> In-Reply-To: <000001c1b44a$78ec0d80$7d2b2c42@anant> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: <20020213051555.86A7E407B@i8k.babbleon.org> Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Tuesday 12 February 2002 11:54 pm, theVanguardian wrote: > Hi, > I have 2 general, possibly newbie questions: > > 1. How do I allow a normal non-root user edit files (cp, mv, etc.) > on a mounted filesystem? (i.e. su to root, then mount /floppy, but now > only root can add or delete files on /floppy) chmod a+rwx /dev/fd0 /floppy I can't really recall if it's the mount point or the device that has to be world-writable, but it should be harmless to give it to both unless you allow remote logins to your machine. > 2. I'm running GNOME as a normal non-root user, but for some > reason, whenever I try to run an X app from the terminal window as root, > I get the error "Connection to :0:0 refused by server, Client is not > authorized to connect to server" or something to that affect. For xhost + from the account of whoever started up the X session. > example, from the terminal window in GNOME (I'm in GNOME as a normal > > non-root user): > > su > > Password: > root# emacs > > Connection to :0:0 refused by server, etc., etc., etc. > > Usually, emacs will open up in a new window. This error happens even if > I try to run any program that requires X, whether I'm in a terminal > window in GNOME or just from the text prompt outside of X. > > Please CC me as I'm not subscribed to the list. > > Thanks. > > -- Anant > > \**********************/ > * * > * O * > * \_____/ * > * _____ * > * / \ * > * | * > * / __ * > * __|_/ \__/ * > * | * > * \ * > * __ | * > * / \_____/ * > * | * > * \_ * > * * > /**********************\ > > > _________________________________________________________ > Do You Yahoo!? > Get your free @yahoo.com address at http://mail.yahoo.com > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message -- Brian T. Schellenberger . . . . . . . bts@wnt.sas.com (work) Brian, the man from Babble-On . . . . bts@babbleon.org (personal) ME --> http://www.babbleon.org http://www.eff.org <-- GOOD GUYS --> http://www.programming-freedom.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message