Iomega REV incorrectly mounted
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
util-linux (Ubuntu) |
Invalid
|
Medium
|
Martin Pitt |
Bug Description
When I plug in my USB Iomega REV, it is correctly mounted, but permissions are not right.
Iomega REV (or RRD) is not mounted like a disk or a memory stick, the UDF filesystem is used, like
a dvd-rw.
As such, the device is connected to /dev/scd0, and hal mounts it on /media/scd0:
root@nbstefano:
/dev/hda1 on / type ext3 (rw,errors=
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
tmpfs on /dev/shm type tmpfs (rw)
usbfs on /proc/bus/usb type usbfs (rw)
/dev/hda5 on /media/hda5 type vfat (rw,noexec,
tmpfs on /dev type tmpfs (rw,size=
/dev/scd0 on /media/scd0 type udf
(rw,noexec,
permissions are root.root 660, so I can't use it as normal user:
root@nbstefano:
totale 40
drwxr-xr-x 8 root root 4096 2005-12-06 10:10 .
drwxr-xr-x 22 root root 4096 2005-12-03 23:37 ..
lrwxrwxrwx 1 root root 6 2005-11-26 22:15 cdrom -> cdrom0
drwxr-xr-x 2 root root 4096 2005-11-26 22:15 cdrom0
drwxr-xr-x 2 root root 4096 2005-11-26 16:08 hda2
drwxrwxrwx 18 root root 16384 1970-01-01 01:00 hda5
drwxrwx--- 28 root root 1532 2005-11-21 09:52 scd0
drwxr-xr-x 2 root root 4096 2005-12-05 18:20 scd1
drwxr-xr-x 2 root root 4096 2005-12-04 19:21 sda1
with this command: /media# mount -o umask=000, rw,noexec, nosuid, nodev,uid= 1000,gid= 1000,iocharset= utf8 /dev/scd0 /media/scd0
root@nbstefano:
remount,
permissions stay 660, but i can use "chmod 777 /media/scd0" to allow the user to use the disk, until I remove
and re-insert the removable disk (leaving the device plugged)
this is my system: /media# uname -a
root@nbstefano:
Linux nbstefano 2.6.12-10-686 #1 Fri Nov 18 12:09:04 UTC 2005 i686 GNU/Linux
the device: http:// www.iomega. com/rev, iomrrdtools. sourceforge. net/
linux page: http://