From owner-freebsd-questions Mon Sep 11 6:13:37 2000 Delivered-To: freebsd-questions@freebsd.org Received: from guru.mired.org (zoom1-194.telepath.com [216.14.1.194]) by hub.freebsd.org (Postfix) with SMTP id 30D2437B422 for ; Mon, 11 Sep 2000 06:13:33 -0700 (PDT) Received: (qmail 64593 invoked by uid 100); 11 Sep 2000 13:13:32 -0000 From: Mike Meyer MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <14780.55932.141621.169275@guru.mired.org> Date: Mon, 11 Sep 2000 08:13:32 -0500 (CDT) To: Rick Hamell Cc: questions@freebsd.org Subject: Re: File and Program Permissions In-Reply-To: <123527634@toto.iv> X-Mailer: VM 6.72 under 21.1 (patch 10) "Capitol Reef" XEmacs Lucid X-face: "5Mnwy%?j>IIV\)A=):rjWL~NB2aH[}Yq8Z=u~vJ`"(,&SiLvbbz2W`;h9L,Yg`+vb1>RG% *h+%X^n0EZd>TM8_IB;a8F?(Fb"lw'IgCoyM.[Lg#r\ Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Rick Hamell writes: > In /usr/X11R6/bin there are several programs I want a regular user > to be able to run, such and xcdplayer and xsane. How do I go about setting > that up? The user is already part of wheel, and just about everything in > that directory is owned by the wheel group. As such I believe I should be > able to run it... but I still get permission denied. I would change the > permissions on the file it self, or even the owner of the file, but I > don't want to have to do that with every file, or accidently create > security holes... > The only major problem I can figure is that both those two > programs uses devices in the /dev directory which may be giving the > permission denied error instead. How would I go about fixing that? Should > I make the operator group and add my users into that also? Then make the > whole /dev directory owned by group operator (or even just certain devices > that are needed,) or will that cause problems too? More information, please. An ls -l of the files (and devices) in question; and the exact text of the error messages you get when you run them from the shell. From the sound of things, you're right - but why bother telling you how to fix the wrong problem? The requested information should tell whether your analysis is correct.