On Tue, Nov 12, 2013 at 9:48 PM, Laurence Rochfort <
laurence.rochf...@gmail.com> wrote:

> Thanks Fred,
>
> /cdrom is the mount point, so no I don't think it should be a symlink.
>
> The command is:
>
> $ mount /dev/cd0a /cdrom
> mount_cd9660: /dev/cd0a on /cdrom: Operation not permitted
>


You're pretty close. Please read this short thread
http://marc.info/?l=openbsd-misc&m=121837771306968&w=2 which will solve it
for you for sure. There are some limitations in combination of /etc/fstab
and kern.usermount

>
> On 12 November 2013 20:27, Fred <open...@crowsons.com> wrote:
> > On 11/12/13 18:56, Laurence Rochfort wrote:
> >>
> >> Thanks Tomas,
> >>
> >> I have set kern.usermount=1 now and added myself to the operator
> >> group, but still get operation denied when trying to mount a cdrom.
> >>
> >> Does the below look right?
> >>
> >> Thank you
> >>
> >> $ sysctl kern.usermount
> >> kern.usermount=1
> >>
> >> $ groups
> >> laurence wheel operator
> >>
> >> $ ls -l / | grep cdrom
> >> drwxrwxr-x   2 root  operator      512 Nov  8 14:29 cdrom
> >>
> >> $ ls -l /dev/cd*
> >> brwxrw----  1 root  operator    6,   0 Nov  8 14:13 /dev/cd0a
> >> brw-rw----  1 root  operator    6,   2 Nov  8 14:13 /dev/cd0c
> >> brw-r-----  1 root  operator    6,  16 Nov  8 14:13 /dev/cd1a
> >> brw-r-----  1 root  operator    6,  18 Nov  8 14:13 /dev/cd1c
> >>
> >
> > Surely /cdrom should be a symbolic link to /dev/cd0a?
> >
> > ie:
> >
> > ln -fs /dev/cd0a /cdrom
> >
> > hth
> >
> > Fred
> >
> > PS what command are you running that gives an operation denied?

Reply via email to