Mounting CDROM as user under 5.x
From: Dany (dany_list_at_natzo.com)
Date: 12/31/03
- Previous message: Greg 'groggy' Lehey: "Re: Booting from vinum RAID 1: How should I edit my disk label?"
- Next in thread: Andrew L. Gould: "Re: Mounting CDROM as user under 5.x"
- Reply: Andrew L. Gould: "Re: Mounting CDROM as user under 5.x"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Wed, 31 Dec 2003 00:39:54 -0500 To: freebsd-questions@freebsd.org
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 ? Thanx
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=1
added the following to /dev/devfs.conf
link acd0 cdrom
perm acd0 0660
added /etc/devfs.rules with
[my_ruleset=10]
add path 'acd*' mode 660
added the following to /etc/rc.conf
devfs_system_ruleset="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 “Operation not permitted”
Thank you
Dany
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
- Previous message: Greg 'groggy' Lehey: "Re: Booting from vinum RAID 1: How should I edit my disk label?"
- Next in thread: Andrew L. Gould: "Re: Mounting CDROM as user under 5.x"
- Reply: Andrew L. Gould: "Re: Mounting CDROM as user under 5.x"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]