Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Jan 2000 18:36:12 -0800
From:      David Johnson <djohnson@acuson.com>
To:        "Charles F. Dillon" <cfdillon@bellsouth.net>
Cc:        freebsd-newbies@freebsd.org
Subject:   Re: mount /cdrom to be used by users
Message-ID:  <3892521C.DF58D4C6@acuson.com>
References:  <20000128211146.A28301@p166.nopants.net>

next in thread | previous in thread | raw e-mail | index | archive | help
"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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3892521C.DF58D4C6>