Date: Wed, 13 Feb 2002 00:15:54 -0500 From: Brian T.Schellenberger <bts@babbleon.org> To: "theVanguardian" <theVanguardian@yahoo.com>, <freebsd-questions@FreeBSD.ORG> Subject: Re: 2 Questions Message-ID: <20020213051555.86A7E407B@i8k.babbleon.org> In-Reply-To: <000001c1b44a$78ec0d80$7d2b2c42@anant> References: <000001c1b44a$78ec0d80$7d2b2c42@anant>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020213051555.86A7E407B>