User mount of dvd or cd

From: John Eggert (finarfinjge_at_hotmail.com)
Date: 02/09/05


Date: Tue, 08 Feb 2005 18:30:46 -0500

Hello All:

I seem to be doing something particularly simple, but I'm getting it
wrong. I'm trying to mount a dvd or cd to read. Everything works as
root, but not as a regular user. In reading the handbook, I did not
see anything apropos. Similarly with the migration guide. I've done a
bunch of searching of news groups and mailing lists and come up with
the items that follow this post. Having done all of these things I
still can't mount /dvd or /cdrom as user. I can play dvds using ogle,
and rip cds using grip, but I can't mount data dvds or cds for
reading. Also, xcdroast and cdbakeoven do not see the pseudo scsi
device that they see as root.

Thanks and Cheers.

JE

Output of attempted mounts:

%mount /dvd
cd9660: /dev/dvd: Operation not permitted

Here is what I've attempted so far:

==> fstab entries:

/dev/acd0 /cdrom cd9660 ro,noauto 0 0
/dev/dvd /dvd cd9660 rw,noauto 0 0

==>sysctl.conf entries:

vfs.usermount=1

==>devfs.conf entries:

own cd0 root:cdrom
own acd0 root:cdrom
perm acd0 0666
perm cd0 0666
own pass0 root:cdrom
perm pass0 0666

link acd0 dvd
link acd0 rdvd
link acd0 acd0c

==> man pages referred to (note that though many news group posts
==> refer to man devfs.conf, no such man page exists):

DEVFS(5) FreeBSD File Formats Manual
DEVFS(8) FreeBSD System Manager's Manual

I've also tried to use the following as per man 8 devfs.

devfs rule add path cd0 mode 666 group cdrom



Relevant Pages

  • [SLE] Mounting.
    ... I have a cd-writer on hdb sr0, and a DVD ... As root and user I can mount the dvd drive, ... Only as root it works. ...
    (SuSE)
  • Re: User mount of dvd or cd
    ... I'm trying to mount a dvd or cd to read. ... > link acd0 rdvd ... Check your permissions on the mount points, ...
    (comp.unix.bsd.freebsd.misc)
  • Mounting DVD. What am I doing wrong?
    ... See here when I mount a DVD: ... Note that I mount it as root, and the user:group is me:all_ages, as it should be. ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx with a subject of "unsubscribe". ...
    (Debian-User)
  • F7 automount DVD/CD/usb drive problem I am unable to fix yet
    ... As a regular user under F7, if I insert a cd or DVD into the drive, or attach a usb external drive, the system will recognize the media, but fail to mount with an error of ... When logged in as root, this process happens with no problem. ... I can mount the media manually after su -ing to root. ...
    (Fedora)
  • mount as not root
    ... i want to make a shortcut to my desktop with links to my dvd and cd burner ... how can i mount them as not root ...
    (comp.unix.bsd.freebsd.misc)