From owner-freebsd-questions Thu Jan 23 17:36:41 2003 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7898C37B401 for ; Thu, 23 Jan 2003 17:36:40 -0800 (PST) Received: from rwcrmhc53.attbi.com (rwcrmhc53.attbi.com [204.127.198.39]) by mx1.FreeBSD.org (Postfix) with ESMTP id DF6BE43F18 for ; Thu, 23 Jan 2003 17:36:39 -0800 (PST) (envelope-from freebsd-questions-local@be-well.no-ip.com) Received: from be-well.ilk.org (lowellg.ne.client2.attbi.com[24.147.188.198]) by rwcrmhc53.attbi.com (rwcrmhc53) with ESMTP id <2003012401363905300lounoe>; Fri, 24 Jan 2003 01:36:39 +0000 Received: from be-well.ilk.org (lowellg.ne.client2.attbi.com [24.147.188.198] (may be forged)) by be-well.ilk.org (8.12.6/8.12.6) with ESMTP id h0O1actm009444 for ; Thu, 23 Jan 2003 20:36:38 -0500 (EST) (envelope-from freebsd-questions-local@be-well.no-ip.com) Received: (from lowell@localhost) by be-well.ilk.org (8.12.6/8.12.6/Submit) id h0O1aYk3009441; Thu, 23 Jan 2003 20:36:34 -0500 (EST) X-Authentication-Warning: be-well.ilk.org: lowell set sender to freebsd-questions-local@be-well.ilk.org using -f To: freebsd-questions@freebsd.org Subject: Re: system refuse to mount CDROMs from ordinary users References: From: Lowell Gilbert Date: 23 Jan 2003 20:36:33 -0500 In-Reply-To: Message-ID: <44smvjqqfy.fsf@be-well.ilk.org> Lines: 36 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG "oscar wicks" writes: > >From: Lowell Gilbert > >To: freebsd-questions@freebsd.org, "oscar wicks" > >Subject: Re: system refuse to mount CDROMs from ordinary users > >Date: 23 Jan 2003 17:51:03 -0500 > > > >"oscar wicks" 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 > > > % > > > > > > > >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