Iomega REV incorrectly mounted

Bug #26622 reported by Stefano Giunchi
6
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:/media# mount
/dev/hda1 on / type ext3 (rw,errors=remount-ro)
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,nosuid,nodev,umask=000)
tmpfs on /dev type tmpfs (rw,size=10M,mode=0755)
/dev/scd0 on /media/scd0 type udf
(rw,noexec,nosuid,nodev,uid=1000,gid=1000,umask=007,iocharset=utf8)

permissions are root.root 660, so I can't use it as normal user:

root@nbstefano:/media# ls -la
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

Revision history for this message
Stefano Giunchi (stefano-giunchi) wrote :

with this command:
root@nbstefano:/media# mount -o
remount,umask=000,rw,noexec,nosuid,nodev,uid=1000,gid=1000,iocharset=utf8 /dev/scd0 /media/scd0

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:
root@nbstefano:/media# uname -a
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,
linux page: http://iomrrdtools.sourceforge.net/

Revision history for this message
Martin Pitt (pitti) wrote :

That's a general problem. mount/the kernel currently does not allow to override
permissions on file systems that support permissions.

This bug has been marked as a duplicate of bug 10550.

Revision history for this message
Stefano Giunchi (stefano-giunchi) wrote :

I don't think it's a duplicate:

if I mount manually the disk, as root, the permissions are 777

    root@nbstefano:/media# mount /dev/scd0 scd0
    drwxrwxrwx 17 root root 1580 2005-12-06 12:26 scd0

my fstab has nothing about scd0:

    # /etc/fstab: static file system information.
    #
    # <file system> <mount point> <type> <options> <dump> <pass>
    proc /proc proc defaults 0 0
    /dev/hda1 / ext3 defaults,errors=remount-ro 0 1
    /dev/hda5 /media/hda5 vfat defaults,user,umask=000 0 0
    /dev/hdb /media/cdrom0 udf,iso9660 user,noauto 0 0

but the automount mounts with permissions root.root 660:
    drwxrwx--- 17 root root 1580 2005-12-06 12:26 scd0

and not 777 like the manual mount, as I suppose it should do (because I don't
give any mount parameter)

Maybe I'm missing something, if it's so please excuse me.

Thank you
Stefano

Revision history for this message
RJ Clay (rjclay) wrote :

You reported this bug a while ago and there hasn't been any activity in it recently. We were wondering is this still an issue for you? Can you try with latest Ubuntu release? Thanks in advance.

Changed in util-linux:
status: New → Incomplete
Revision history for this message
RJ Clay (rjclay) wrote :

We are closing this bug report because it lacks the current information we need to investigate the problem, as described in the previous comments. Please reopen it if you can give us the missing information, and don't hesitate to submit bug reports in the future. To reopen the bug report you can click on the current status, under the Status column, and change the Status back to "New". Thanks again!

Changed in util-linux:
status: Incomplete → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.