[buug] mount?

Ian Zimmerman itz at speakeasy.org
Mon Dec 16 13:56:47 PST 2002

Karshi> Hi all, What I need to do in order to be able to mount the
Karshi> cdrom (/cdrom) as a user?

What system?

On Linux, 

1. give yourself sufficient permissions on the /cdrom directory (most
   convenient is to include yourself in a a group, say "cdrom", and
   then chgrp cdrom /cdrom)

2. in /etc/fstab, give "user" as one of the options, for example
   here's my fstab:

# /etc/fstab: static file system information.
# <file system>	<mount point>		<type>		<options>	<dump>	<pass>
/dev/hdc1	/			ext2		defaults	0	1
/dev/hda1	swap			swap		defaults	0	0
/dev/hda2	/boot			ext2		ro		0	2
/dev/hda4	/var/tmp/amanda		ext2		defaults	0	2
proc		/proc			proc		defaults	0	0
tmpfs		/tmp			tmpfs		defaults	0	0
/dev/sr0	/cdrom			iso9660		user,noauto,ro,nodev,nosuid	0	0

An alternative way which I went for a while just because it was cool
is to use the automounter.  Right now I am in my "simplicity" period,
so I don't do that anymore.  If you're interested google for "Linux

Ian Zimmerman, Oakland, California, U.S.A. 
if (sizeof(signed) > sizeof(unsigned) + 4) { delete this; }
GPG: 433BA087  9C0F 194F 203A 63F7 B1B8  6E5A 8CA3 27DB 433B A087

More information about the buug mailing list