Ignore broken directory permissions on UDF media
authorMartin Pitt <martin.pitt@ubuntu.com>
Thu, 24 Feb 2011 12:39:52 +0000 (13:39 +0100)
committerMartin Pitt <martin.pitt@ubuntu.com>
Thu, 24 Feb 2011 12:39:52 +0000 (13:39 +0100)
commit2d1901f74725da29c7af7602e1c74faf55f14672
tree56215d9ced2b238fc8389a01a3e2f0c7e54b62e5
parent31c7236f751e80b285da04ba4379bb98f809cb44
Ignore broken directory permissions on UDF media

Some broken DVDs come with 0400 directory permissions, making them unreadable;
according to the UDF spec (http://www.osta.org/specs/pdf/udf260.pdf) directory
permissions are to be respected, but apparently Windows ignores those.

To work around this, override readonly UDF media with a dmode=0500, as on those
it doesn't really make sense to hide anything.

https://launchpad.net/bugs/635499
src/device.c