Date: Wed, 31 Dec 2003 03:08:36 -0600 From: "Andrew L. Gould" <algould@datawok.com> To: Dany <dany_list@natzo.com>, freebsd-questions@freebsd.org Subject: Re: Mounting CDROM as user under 5.x Message-ID: <200312310308.36294.algould@datawok.com> In-Reply-To: <3FF2612A.6050903@natzo.com> References: <3FF2612A.6050903@natzo.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tuesday 30 December 2003 11:39 pm, Dany wrote: > Hello, > > Because I didn't get any response on BSDforums, I've decided to try my > chance here. > > I'm trying to get my single user (belonging to the wheel group) mounting > a CD drive under 5.x using devfs (5.2RC2). > Could somebody post a very simple howto showing the files to modify ? Tha= nx > > So far I've tried the following things without success : > > mkdir /home/username/mount/cdrom > chown username /home/username/mount/cdrom > chmod 755 /home/username/mount/cdrom > > added the following to /etc/sysctl.conf > vfs.usermount=3D1 > > added the following to /dev/devfs.conf > link acd0 cdrom > perm acd0 0660 > > added /etc/devfs.rules with > [my_ruleset=3D10] > add path 'acd*' mode 660 > > added the following to /etc/rc.conf > devfs_system_ruleset=3D"my_ruleset" > > /dev/cdrom now shows up and root can use it to play a DVD for example > but user cannot use it either directly (/dev/cdrom) or when trying to > mount a CD (mount_cd9660 /dev/cdrom /home/username/mount/cdrom) .. the > result is =93Operation not permitted=94 > > Thank you > Dany All I do for my user that's a member of wheel under FreeBSD 4.* is: chmod u+s /sbin/*mount Does this not work in FreeBSD 5.*? Andrew Gould
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200312310308.36294.algould>