From owner-freebsd-newbies Fri Jan 28 18:36:44 2000 Delivered-To: freebsd-newbies@freebsd.org Received: from odin.acuson.com (odin.acuson.com [157.226.230.71]) by hub.freebsd.org (Postfix) with ESMTP id CBA1B151A7 for ; Fri, 28 Jan 2000 18:36:42 -0800 (PST) (envelope-from djohnson@acuson.com) Received: from acuson.com ([157.226.69.47]) by odin.acuson.com (Netscape Messaging Server 3.54) with ESMTP id AAA39AD; Fri, 28 Jan 2000 18:36:30 -0800 Message-ID: <3892521C.DF58D4C6@acuson.com> Date: Fri, 28 Jan 2000 18:36:12 -0800 From: David Johnson Organization: Acuson X-Mailer: Mozilla 4.7 [en] (X11; U; SunOS 5.5.1 sun4m) X-Accept-Language: en MIME-Version: 1.0 To: "Charles F. Dillon" Cc: freebsd-newbies@freebsd.org Subject: Re: mount /cdrom to be used by users References: <20000128211146.A28301@p166.nopants.net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-newbies@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org "Charles F. Dillon" wrote: > > Is there a way to execute the "(u)mount /cdrom" as user rather than > having to su to root? Is this device permissions? I noticed the cdplay program > that I complied via the ports section was unable to use the cd when a > normal user tries to execute it. It would be nice to not have to su > for switching disks and playing CD's Although this is probably not the most secure way to do it, change the permissions of /cdrom to allow changing into. The permissions should be something like 555 for a readonly drive. However, cdplay shouldn't need the /cdrom mounted, as it doesn't use the CD as a file system. Take a look at the permissions for /dev/acd0(?) instead. David To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-newbies" in the body of the message