Summary: | Kde doesn't mount udf DVD created with k3b | ||
---|---|---|---|
Product: | [Applications] k3b | Reporter: | giuseppe <metrobotte> |
Component: | general | Assignee: | Unassigned bugs mailing-list <unassigned-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | faik, grundleborg, poernahi |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | unspecified | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: |
Description
giuseppe
2008-06-25 18:20:34 UTC
Just to clarify, if you mount the device in a console with the 'mount' command, what permissions does it have? Can you do that as a normal user, or must you be root? With classic mount permission are d--------- 2 root root 400 2008-06-11 21:21 cdrom This happen only with k3b udf...with other udf(games,video-dvd) mount correctly with mount and with kde. Ok, so this might be a bug with k3b, but I don't think its a bug with KDE anywhere else if mount behaves in the incorrect way. Reassigning to k3b to see if they want to claim this bug :). KDE 3.5.9, k3b 1.0.5, compiled from sources, gcc 4.2.3, Slackware 12.1 When I mount a CD/DVD written by k3b with (Rock Ridge, Joliet, UDF) the mountpoint and the directories on the CD get the permissions "d---------" instead of the "dr-xr-xr-x" as expected. The files have "-r--r--r--" as expected. It does not matter whether I do the mount as root or a non-root user. KDE (3.5.9) does not allow the mountpoint or the directories on the CD/DVD to be opened (which is unexpected for root, but as expected for a non-root user). It allows root to expand the mountpoint and the directories on the CD/DVD (as expected) and does not allow a non-root user to do so (as expected). I see the same "d---------" in Gnome, but there root can also open the mountpoint and the directories on the CD/DVD (as expected). For as far as I am aware this "d---------" was introduced with k3b 1.0.5. Writing the CD/DVD with (Rock Ridge, Joliet) gives the "dr-xr-xr-x" as expected. This is a bug in mkisofs rather than k3b (mkisofs does say its udf support is incomplete). Bug is still unfixed as of cdrtools-2.01.01-alpha42. To reproduce: 1. Create a directory containing a single file. 2. Create a text file containing /Dir/=full_path_to_dir_from_#1 3. mkisofs -graft-points -udf -o test.iso -path-list file_from_#2 4. mount test.iso using mount -o loop, make sure it is mounted as udf The mounted image and its subdirectories will have permission of 000. Note: Adding -r switch to mkisofs does not solve the problem. Removing -graft-points partially solve the problem, but it is needed to create directory structure in the image. See also http://bugs.gentoo.org/show_bug.cgi?id=213399 for similar bug. This is mkisofs bug and fixed in cdrtools-2.01.01a46: ftp://ftp.berlios.de/pub/cdrecord/alpha/AN-2.01.01a46 - Mkisofs now correctly sets the permissions for "invented" unreal directories in UDF instread of using mode 000. 916394 finally fixed,thanks |