From owner-freebsd-questions@FreeBSD.ORG Mon Jan 5 17:18:50 2004 Return-Path: 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 3C47116A4CE for ; Mon, 5 Jan 2004 17:18:50 -0800 (PST) Received: from straycat.dhs.org (h0050da134090.ne.client2.attbi.com [24.91.148.154]) by mx1.FreeBSD.org (Postfix) with SMTP id AB3B443D2F for ; Mon, 5 Jan 2004 17:18:46 -0800 (PST) (envelope-from tmclaugh@sdf.lonestar.org) Received: (qmail 11052 invoked from network); 6 Jan 2004 01:19:26 -0000 Received: from unknown (HELO ?192.168.1.129?) (192.168.1.129) by 192.168.1.128 with SMTP; 6 Jan 2004 01:19:26 -0000 From: Tom McLaughlin To: Stacey Roberts In-Reply-To: <20040105185309.GO6131@crom.vickiandstacey.com> References: <20040104005352.GI6131@crom.vickiandstacey.com> <20040104005929.GA70684@madras.dyndns.org> <20040104011313.GJ6131@crom.vickiandstacey.com> <1073195295.318.14.camel@compass> <20040104133106.GN6131@crom.vickiandstacey.com> <1073252892.290.11.camel@compass> <20040105185309.GO6131@crom.vickiandstacey.com> Content-Type: text/plain Message-Id: <1073352046.681.36.camel@compass> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 Date: Mon, 05 Jan 2004 20:20:47 -0500 Content-Transfer-Encoding: 7bit cc: freebsd-questions@freebsd.org Subject: Re: Mount /cdrom as non-root user - does this actually work for anyone? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Jan 2004 01:18:50 -0000 On Mon, 2004-01-05 at 13:53, Stacey Roberts wrote: > Hello, > Thanks for the reply. > > ----- Original Message ----- > From: "Tom McLaughlin " > To: To Stacey Roberts > Date: Sun, 04 Jan, 2004 21:54 GMT > Subject: Re: Mount /cdrom as non-root user - does this actually work for anyone? > > > On Sun, 2004-01-04 at 08:31, Stacey Roberts wrote: > > > Hello, > > > Thanks for the reply. > > > > > > ----- Original Message ----- > > > From: "Tom McLaughlin " > > > To: To Stacey Roberts > > > Date: Sun, 04 Jan, 2004 05:48 GMT > > > Subject: Re: Mount /cdrom as non-root user - does this actually work for anyone? > > > > > > > > Stacey, what are permissions of /dev/acd0c? The handbook example > > > > changes the permissions of a SCSI cdrom. I made the mistake of not > > > > noticing this when I first tried to do make my cdrom user mountable. > > > > > > > > > > $ ls -la /dev/acd* > > > crw-r----- 4 root operator 117, 0 Nov 9 14:21 /dev/acd0a > > > crw-r----- 4 root operator 117, 0 Nov 9 14:21 /dev/acd0c > > > $ > > > > > > That's what the permissions are like after running through the procedure in the HandBook. On that note, fr the record, on all machines, there are IDE CDROM drives and one IDE CD-RW drive that I've got here. > > > > > > Thanks again. > > > > > > Regards, > > > > > > Stacey > > > > > > > Tom > > > > > > > > Stacey, do `chmod 666 /dev/acd0c`. That will give the first IDE cdrom > > drive the correct permissions. You should be able to pop in a disk and > > mount it in your directory then. > > > > [tom@compass tom]$ ls -al /dev/acd* > > crw-rw-rw- 4 root operator 117, 0 Dec 18 00:53 /dev/acd0a > > crw-rw-rw- 4 root operator 117, 0 Dec 18 00:53 /dev/acd0c > > ... > > crw-rw-rw- 4 root operator 117, 8 Dec 18 00:53 /dev/acd1a > > crw-rw-rw- 4 root operator 117, 8 Dec 18 00:53 /dev/acd1c > > > > Yes., I tried this in the end (well., 644 instead of 666) and I am now able to mount the cd-rw drive as an ordinary user, as well as the cdrom drives on the others.., > > However, this *does* seem to make the whole deal about adding users to the operator group kind of redundant, it appears.., I could have left users where they were and done the above and it would have worked all the same.., > > Also, if the HandBook has only procedures that would work for only SCSI drives, who do I contact in order for some procedure relevant to those users in the community that would want to / need to do the same for hosts with IDE drives? > > Thanks again for taking the time, and the patience.., > > Regards, > > Stacey > You might want to change the permissions to 666 so a user can write to the cd-rw. Also, section two of the same chapter goes over disk naming convention. http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/disks-naming.html I missed that too in the beginning. I actually gave up temporarily the first time I tried to make my cdroms and floppy user mountable. I started in on trying to add my other drive mounts and came across that section when trying to figure out what the disks were called. I've found a few times when doing things based on the handbook that I needed to start from the beginning of the chapter since it's written to be a read like book and not an FAQ. Tom