Skip site navigation (1)Skip section navigation (2)
Date:      23 Jan 2003 20:36:33 -0500
From:      Lowell Gilbert <freebsd-questions-local@be-well.no-ip.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: system refuse to mount CDROMs from ordinary users
Message-ID:  <44smvjqqfy.fsf@be-well.ilk.org>
In-Reply-To: <F23j6VdZpOMdMeVB8O3000170b0@hotmail.com>
References:  <F23j6VdZpOMdMeVB8O3000170b0@hotmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
"oscar wicks" <oskr690@hotmail.com> writes:

> >From: Lowell Gilbert <freebsd-questions-local@be-well.no-ip.com>
> >To: freebsd-questions@freebsd.org, "oscar wicks" <oskr690@hotmail.com>
> >Subject: Re: system refuse to mount CDROMs from ordinary users
> >Date: 23 Jan 2003 17:51:03 -0500
> >
> >"oscar wicks" <oskr690@hotmail.com> writes:
> >
> > > my system refuses to mount remobable medias as  floppies and CDROMs,
> > >
> > > tells me this:
> > >
> > > %mount -t cd9660 /dev/acd0c /cdrom
> > > cd9660: /dev/acd0c: Operation not permitted
> > > %
> >
> ><other information snipped>
> >
> >Looks like the user doesn't own /cdrom.
> 
> thanks for RE:
> 
> great! works now, but... how can i share with other normal users (not
> only marcus) /cdrom owner WAS root and group
> WAS wheel,  if group and ownership changes to marcus only root and
> marcus can use  cdrom,

Yes.  That's a feature, not a bug:  it means the person mounting the
device has control of the permissions on the base of the mounted
filesystem.  

There are a number of common approaches, but the two most common are
to either have the users mount the devices within their own
filesystems, or use fbtab(5) (or Xsetup, etc., as appropriate) to give
the console user the ownership of /cdrom.

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?44smvjqqfy.fsf>