Public bug reported:

I'm using 16.10. I have a DVD with strange permissions for the root
folder:

michele@cassandra:~$ ls -l /media/michele
total 2
d--x--x--- 3 michele michele 88 gen  1  2004 SONY_DVD_RECORDER_VOLUME

The DVD is readable e.g. on windows but with ubuntu while I can access
it as root:

root@cassandra:~# ls -l /media/michele/SONY_DVD_RECORDER_VOLUME/
total 4
dr-xr-xr-x 2 michele michele 3628 gen  1  2004 VIDEO_TS

I cannot as the non-root user that is logged in when I insert the disk:

michele@cassandra:~$ ls -l /media/michele/SONY_DVD_RECORDER_VOLUME
ls: cannot open directory '/media/michele/SONY_DVD_RECORDER_VOLUME': Permission 
denied

Looking at the mount options it seems to me that this is a regression
for bug #10550. The options used by udisks2 are:

root@cassandra:~# mount |grep SONY
/dev/sr0 on /media/michele/SONY_DVD_RECORDER_VOLUME type udf 
(ro,nosuid,nodev,relatime,uid=1000,gid=1000,iocharset=utf8,uhelper=udisks2)

while my understanding from bug #10550 is that I should have also
mode=0777 and dmode=0777

And indeed this works:

root@cassandra:~# mount -t udf -o
ro,nosuid,nodev,relatime,uid=1000,gid=1000,iocharset=utf8,uhelper=udisks2,mode=0777,dmode=0777
/dev/sr0 ~michele/z

michele@cassandra:~$ ls -l ~michele/z
total 4
drwxrwxrwx 2 michele michele 3628 gen  1  2004 VIDEO_TS

** Affects: util-linux (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1674164

Title:
  DVDs with restricted permissions are unreadable for normal user
  (regression?)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/util-linux/+bug/1674164/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to