I think I don't need testing on an other OS. It is working flawless
here. I have created to iso-images one as data and the other one as
video with the following calls:
VIDEO:
mkisofs -dvd-video -UDF -R -iso-level 1 -v -volid DVD_VIDEO -sysid LINUX
-input-charset utf-8 -o ../dvd-video.iso ./
DATA:
mkisofs -UDF -R -iso-level 1 -v -volid DVD_DATA -sysid LINUX
-input-charset utf-8 -o ../dvd-data.iso ./
I created to mount-points where only root has permissions
ls -al ./
drwxr-xr-x 4 billie users 72 15. Jul 18:29 .
drwx------ 16 billie users 8192 15. Jul 18:22 ..
-rw-r--r-- 1 billie users 142530560 15. Jul 18:26 dvd-data.iso
-rw-r--r-- 1 billie users 142587904 15. Jul 18:25 dvd-video.iso
drwx------ 2 root root 1 15. Jul 18:29 mount-data
drwx------ 2 root root 1 15. Jul 18:29 mount-video
Then I mounted both the data and the video image as udf and as iso9660
mount -o loop -t udf dvd-video.iso mount-video/
ls -al mount-video/
drwxr-xr-x 4 billie users 136 15. Jul 18:24 .
drwxr-xr-x 4 billie users 72 15. Jul 18:29 ..
drwxr-xr-x 2 billie users 40 15. Jul 18:24 AUDIO_TS
drwxr-xr-x 2 billie users 300 15. Jul 18:24 VIDEO_TS
mount -o loop -t iso9660 dvd-video.iso mount-video/
ls -al mount-video/
drwxr-xr-x 4 billie users 2048 15. Jul 18:24 .
drwxr-xr-x 4 billie users 72 15. Jul 18:29 ..
drwxr-xr-x 2 billie users 2048 15. Jul 18:24 AUDIO_TS
drwxr-xr-x 2 billie users 2048 15. Jul 18:24 VIDEO_TS
mount -o loop -t udf dvd-data.iso mount-data
ls -al mount-data
drwxr-xr-x 2 billie users 92 15. Jul 18:26 .
drwxr-xr-x 4 billie users 72 15. Jul 18:29 ..
-rw-r--r-- 1 billie users 141672448 15. Jul 18:21 001_cut.mpg
mount -o loop -t iso9660 dvd-data.iso mount-data
ls -al mount-data
drwxr-xr-x 2 billie users 2048 15. Jul 18:26 .
drwxr-xr-x 4 billie users 72 15. Jul 18:29 ..
-rw-r--r-- 1 billie users 141672448 15. Jul 18:21 001_cut.mpg
Everything works perfect and the old permissions of the files and
folders have been restored.
It was jst isoinfo which did not show the permissions:
isoinfo -l -i dvd-data.iso
Directory listing of /
d--------- 0 0 0 2048 Jul 15 2008 [ 266 02] .
d--------- 0 0 0 2048 Jul 15 2008 [ 266 02] ..
---------- 0 0 0 141672448 Jul 15 2008 [ 268 00] 001_CUT.MPG;1
isoinfo -l -i dvd-video.iso
Directory listing of /
d--------- 0 0 0 2048 Jul 15 2008 [ 274 02] .
d--------- 0 0 0 2048 Jul 15 2008 [ 274 02] ..
d--------- 0 0 0 2048 Jul 15 2008 [ 275 02] AUDIO_TS
d--------- 0 0 0 2048 Jul 15 2008 [ 276 02] VIDEO_TS
Directory listing of /AUDIO_TS/
d--------- 0 0 0 2048 Jul 15 2008 [ 275 02] .
d--------- 0 0 0 2048 Jul 15 2008 [ 274 02] ..
Directory listing of /VIDEO_TS/
d--------- 0 0 0 2048 Jul 15 2008 [ 276 02] .
d--------- 0 0 0 2048 Jul 15 2008 [ 274 02] ..
---------- 0 0 0 6144 Jul 15 2008 [ 281 00] VIDEO_TS.BUP;1
---------- 0 0 0 6144 Jul 15 2008 [ 278 00] VIDEO_TS.IFO;1
---------- 0 0 0 12288 Jul 15 2008 [ 69466 00] VTS_01_0.BUP;1
---------- 0 0 0 12288 Jul 15 2008 [ 284 00] VTS_01_0.IFO;1
---------- 0 0 0 141672448 Jul 15 2008 [ 290 00] VTS_01_1.VOB;1
So I also guess this has to be a problem with hal, udev, k3b or even
growisofs. The strange thing is that it works manually mounted as
iso9960 and not as udf filesystem. So it does not look like a mounting
problem.
--
gentoo-user@lists.gentoo.org mailing list