Re: [FAQ pointer] Re: Non-root access to peripheral file devices
Joe Altman <[EMAIL PROTECTED]> writes: > [copying the original poster in my somewhat related followup] > > On Tue, Nov 18, 2003 at 01:01:06PM -0500, Lowell Gilbert wrote: > > Dr Lyman Hazelton <[EMAIL PROTECTED]> writes: > > > > > Perhaps this is discussed somewhere, but so far I haven't found > > > anything that helps. > > > > "How do I let ordinary users mount floppies, CDROMs and other removable media?" > > http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/disks.html#USER-FLOPPYMOUNT > > These conditions are "anded", right? Which conditions are you referring to? > While I'm asking silly questions: is there a way to exclude certain > devices or directories from the effects of updating world? In my > experience, it seems rare that MAKEDEV must be run, but it would be > nice if /var/mail were left at 1777 across updates; a bonus if, once I > changed perms around on a device like the cdrom, it stayed changed. I use MAKEDEF.local to store my changes to device permissions. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: [FAQ pointer] Re: Non-root access to peripheral file devices
[copying the original poster in my somewhat related followup] On Tue, Nov 18, 2003 at 01:01:06PM -0500, Lowell Gilbert wrote: > Dr Lyman Hazelton <[EMAIL PROTECTED]> writes: > > > Perhaps this is discussed somewhere, but so far I haven't found > > anything that helps. > > "How do I let ordinary users mount floppies, CDROMs and other removable media?" > http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/disks.html#USER-FLOPPYMOUNT These conditions are "anded", right? While I'm asking silly questions: is there a way to exclude certain devices or directories from the effects of updating world? In my experience, it seems rare that MAKEDEV must be run, but it would be nice if /var/mail were left at 1777 across updates; a bonus if, once I changed perms around on a device like the cdrom, it stayed changed. I'm thinking along the lines of the ignore categories in pkgtools.conf... ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
[FAQ pointer] Re: Non-root access to peripheral file devices
Dr Lyman Hazelton <[EMAIL PROTECTED]> writes: > Perhaps this is discussed somewhere, but so far I haven't found > anything that helps. "How do I let ordinary users mount floppies, CDROMs and other removable media?" http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/disks.html#USER-FLOPPYMOUNT ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Non-root access to peripheral file devices
Perhaps this is discussed somewhere, but so far I haven't found anything that helps. I have two SCSI CDROM drives (/dev/cd0 and /dev/cd1) and an IDE floppy drive. All of these drives are mountable and work flawlessly if I am logged in as root. Trying to mount any of them as any other login-id results in an "operation not permitted" message and failure. I have a /cdrom mount point that is matched with /dev/cd0 in /etc/fstab and says its file type is cd9660. The permissions on /dev/cd0 are 0555. Same for /cdrom. The owner of both is root:wheel. I already tried setting the permissions to ... no help. The odd thing is that I can successfully run KsCD using either drive as a non-root user and play music through my sound card. (Can't seem to make any other sound work, but that is a separate issue.) I even tried creating a file in /usr/local/bin called mountcd that has just the line "mount /cdrom" in it, and setting the super user bit on the file. That works fine for root, but fails the same way for non-root users. Does anyone have a hint that will allow me to fix this problem? -Lyman ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"