diff --git a/src/device.c b/src/device.c index a7f8880..3174628 100644 --- a/src/device.c +++ b/src/device.c @@ -6204,10 +6204,8 @@ struct Job /* dynamic default options */ /* some broken DVDs come with 0400 directory permissions, making them - * unreadable; overwrite readonly UDF media with a 0500 dmode. */ - if (g_strcmp0 (device->priv->id_type, "udf") == 0 && device->priv->device_is_optical_disc && - device->priv->drive_media != NULL && - strstr(device->priv->drive_media, "_rw") == NULL && strstr(device->priv->drive_media, "_ram") == NULL) + * unreadable; overwrite all UDF media with a 0500 dmode. */ + if (g_strcmp0 (device->priv->id_type, "udf") == 0 && device->priv->device_is_optical_disc) { g_ptr_array_add (options, g_strdup("dmode=0500")); }