howto mount/umount dvd [message #39805] |
Fri, 04 June 2010 13:25 |
rray
Messages: 4 Registered: June 2010
|
Junior Member |
|
|
I have a CentOS 5.5 container setup to allow a regular user to mount and umount a dvd that has a ext2 fs. I created the mount point, added fstab entry, and setup container device file. Mounting is no problem. I can read data ok. Umounting does not work for regular user.
[rray]$ umount /dev/dvd
umount: only root can unmount /dev/dvd from /mnt/dvd
Root can umount just fine. Any suggestions?
Richard
|
|
|
|
|
|
Re: howto mount/umount dvd [message #39814 is a reply to message #39811] |
Fri, 04 June 2010 18:30 |
rray
Messages: 4 Registered: June 2010
|
Junior Member |
|
|
Before I start a bug report I am trying to eliminate the most common cause of my problems, my ignorance
On the hn mtab shows
/dev/scd0 /mnt/dvd ext2 ro,noexec,nosuid,nodev,user=rray 0 0
and mount -l shows
/dev/scd0 on /mnt/dvd type ext2 ro,noexec,nosuid,nodev,user=rray) [1100603145949]
On the ve mtab shows
/dev/dvd /mnt/dvd ext2 ro,nosuid,nodev,noexec 0 0
and mount -l shows
/dev/dvd on /mnt/dvd type ext2 (ro,nosuid,nodev,noexec) [1100603145949]
The problem seems obvious
/dev/dvd is a simlink to /dev/scd0
I tried changing ve to /dev/scd0 and got the same results
The fstab entry is
/dev/dvd /mnt/dvd auto noauto,user,ro 0 0
on hn and ve
Any more suggestions or does this sound like a bug
Richard
|
|
|
|