Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 213399

Summary: app-cdr/cdrtools-2.01.01_alpha34 invalid UDF permissions
Product: Gentoo Linux Reporter: Artiom Molchanov <artiom>
Component: Current packagesAssignee: Gentoo Optical Media project <media-optical>
Status: RESOLVED TEST-REQUEST    
Severity: normal CC: ceniza666, esigra, poernahi, rdalek1967
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Artiom Molchanov 2008-03-14 15:35:16 UTC
A DVD (R or RW) written (though K3B) with UDF option is mounted with d-------- permissions.

Reproducible: Always

Steps to Reproduce:
1. Burn a DVD whith UDF
2. Mount it
3.

Actual Results:  
His mount point take d-------- permissions (any acces for anybody). This might be 000 octal permission.

Expected Results:  
Normally UDF structure must save the permissions of the files it contains.

cdrtools-2.01-r1 doesn't have this issue.
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2008-03-15 07:39:53 UTC
Can you reproduce this w/ 2.01.01_alpha37? If so, you should report it upstream.
Comment 3 Samuli Suominen (RETIRED) gentoo-dev 2008-06-07 09:42:57 UTC
(In reply to comment #2)
> Can you reproduce this w/ 2.01.01_alpha37? If so, you should report it
> upstream.
> 

No reply in 3 months, current version is alpha40. Reopen if it's still an problem, thanks
Comment 4 Michael Perlov 2008-06-14 14:22:41 UTC
(In reply to comment #3)
> (In reply to comment #2)
> > Can you reproduce this w/ 2.01.01_alpha37? If so, you should report it
> > upstream.
> > 
> 
> No reply in 3 months, current version is alpha40. Reopen if it's still an
> problem, thanks
> 

k3b-1.0.5-r1 & cdrtools-2.01.01_alpha40 = same issue, mount point take d-------- permissions.
Comment 5 Daniel Pielmeier gentoo-dev 2008-07-15 11:30:38 UTC
This thread [1] on gentoo.user has some information regarding this problem.

It seems there is a problem with udf linux kernel driver not mounting the DVD with the korekt permissions.

http://groups.google.com/group/linux.gentoo.user/browse_thread/thread/26a446ea70e61fed#
Comment 6 Dale 2008-07-16 22:26:13 UTC
This is a workaround for me at least.  If it is mounted as iso9660, it works but still wrong permissions when mounted as udf.  

This is still happening in kernel version linux-2.6.25-gentoo-r6.  I upgraded just to test this version.

If this is being checked into elsewhere, please post or email a link.

Dale

Comment 7 Hendrik Poernama 2008-09-13 05:00:44 UTC
From the tests I did, this bug is not resolved. However, now I think the problem might be K3B.

Steps to reproduce:
1. Open K3B, create a new data DVD and add a file.
2. Click burn, select "only create image".
3. Select UDF in the Filesystem tab and start the process.
4. Mount the produced image and examine its permissions.

Results (tested with K3B 1.0.4)
UDF enabled ISO, mounted with 'mount -o loop' has d--------- as permission.
UDF enabled ISO with 'preserve permission' option enabled also has d---------.
UDF ISO, mounted with 'mount -o loop -t iso9660' has dr-xr-xr-x.
non-UDF ISO does not have this problem.

Additional Information

Looking at mkisofs manual, at least 2 options deals with udf permission.
-udf produce 'simplified permission'
-r produce read+execute permission
I suspect the problem is due to K3B using -udf without/instead of -r.
Comment 8 Hendrik Poernama 2008-09-13 06:11:40 UTC
Related K3B bug at https://bugs.kde.org/show_bug.cgi?id=164950

Apparently mkisofs does create readable image with just -udf. I tested with 

mkisofs -udf -o testimage.iso testdir

and the resulting image has read permission when mounted as UDF.
Maybe there is a conflict with other options passed by K3B.