After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 455333 - Directory structure not maintained while writing DVDs
Directory structure not maintained while writing DVDs
Status: RESOLVED NOTGNOME
Product: brasero
Classification: Applications
Component: general
0.6.0
Other All
: Normal normal
: 0.6
Assigned To: Brasero maintainer(s)
Brasero maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2007-07-09 22:41 UTC by Nirbheek Chauhan
Modified: 2007-08-23 04:46 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Nirbheek Chauhan 2007-07-09 22:41:36 UTC
Please describe the problem:
While writing DVDs, Brasero does not maintain the directory structure.
If the ordering of a set of folders is as follows;

Music > Genre1 > Artist1 > Album11 > Songs
                           Album12 > Songs

                 Artist2 > Album21 > Songs
                         > Album22 > Songs

        Genre2 > Artist3 > Album31 > Songs
                         > Album32 > Songs
        Artist > Songs

Its converts it to

Music > Genre1 > Album11 > Songs
                 Album12 > Songs

                 Album21 > Songs
                 Album22 > Songs

        Genre2 > Album31 > Songs
                 Album32 > Songs
        Songs

It seems it removes the penultimate folder in every folder tree or if the
penultimate folder cannot be removed (perhaps because it is shared by several
others), it will remove the last folder (as is the case with "Music > Artist >
Songs" in the example above).

Steps to reproduce:
1. Make a "deep" (more than two nested folders) tree of file with brasero
2. Make a 4.3GB dvd image
3. mount using -o loop


Actual results:
The directory structure gets destroyed

Expected results:
It should be followed religiously :)

Does this happen every time?
Easily reproducible

Other information:
Comment 1 Luis Medinas 2007-07-10 02:12:43 UTC
i couldn't reproduce this bug. See this

mount -o loop brasero-0.iso /mnt/
cd /mnt
cd Music/Genre1/Artist1/Album1/
metalgod@fermi:/mnt/Music/Genre1/Artist1/Album1$ ls
01%20-%20Wolfshade%20(A%20Werewolf%20Masquerade).mp3
02%20-%20Love%20Crimes.mp3
03%20-%20...Of%20Dream%20And%20Drama%20(Midnight%20Ride).mp3
04%20-%20Lua%20D'Inverno.mp3
05%20-%20Trebaruna.mp3
06%20-%20Vampiria.mp3
07%20-%20An%20Erotic%20Alchemy.mp3
08%20-%20Alma%20Mater.mp3
09%20-%20Ataegina.mp3
Comment 2 Philippe Rouquier 2007-07-10 07:56:01 UTC
Same here. I tried with trunk and no problem. I tried the exact same hierarchy as in your example and it was OK.
Now, I have a few questions:
- how did you create your hierarchy? did you create all folders with 'create new folder' button in brasero or was it an on disc hierarchy? if not could you tell us what folders were "virtually" created and which were not please.
- Does this happen all the time that is if you simply create something simpler like:
/Music/Artist/Genre/song/song.mp3
- What's your distribution please?
- do you use genisoimage or mkisofs and what's the version?
Comment 3 Nirbheek Chauhan 2007-07-10 14:08:34 UTC
 - All the files were on disc, I just dragged and dropped them from the right pane to the left one.
 - It happens even if I create just Artist/Genre/song.mp3. 
   It becomes Genre/song.mp3
 - I'm using an up-to-date Gentoo ~x86
 - I'm using mkisofs version 2.01.01a27

I've created screencasts of my process:
http://home.iitk.ac.in/~nirbheek/test-0000.mpeg
http://home.iitk.ac.in/~nirbheek/test-0001.mpeg

They're in two parts because xvidcap kept crashing X-(

My emerge --info is as follows:

The LDFLAGS are not a problem since people I know (and who use gentoo) are also facing the same bug and they don't have such radical LDFLAGS :)

---------------

Portage 2.1.3_rc7 (default-linux/x86/2007.0/desktop, gcc-4.1.2/vanilla, glibc-2.5-r4, 2.6.21-gentoo-r3 i686)
=================================================================
System uname: 2.6.21-gentoo-r3 i686 Intel(R) Pentium(R) M processor 1.86GHz
Gentoo Base System release 2.0.0_alpha3
Timestamp of tree: Mon, 09 Jul 2007 23:20:01 +0000
app-admin/eselect-compiler: 2.0.0_rc2-r1
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.5.1-r2
dev-python/pycrypto: 2.0.1-r5
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 2.0.0_rc1
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.22
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium-m -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/eselect/compiler /etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo"
CXXFLAGS="-march=pentium-m -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache collision-protect distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch userpriv usersandbox"
GENTOO_MIRRORS="ftp://172.31.76.254/gentoo"
LANG="C"
LDFLAGS="-Wl,-O1 -Wl,--enable-new-dtags -Wl,--sort-common -s -Wl,--as-needed -Wl,-z,now"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_EXTRA_OPTS="--compress-level=0"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/science /usr/portage/local/layman/gentopia /usr/portage/local/layman/navya-overlay /usr/portage/local/layman/sunrise /usr/portage/local/layman/mpd /usr/portage/local/layman/gnome-experimental /usr/local/portage"
SYNC="rsync://172.31.76.254/gentoo-portage"
USE="X a52 aac acl acpi alsa ao avahi avi bash-completion beagle bitmap-fonts bonjour branding bzip2 cairo cddb cdparanoia cdr cli cracklib crypt cscope daap dbus dga directfb dri dvd dvdr dvdread emboss encode exif fam fbcon ffmpeg firefox flac flash fortran galago gd gdbm gif gimp glitz gnome gphoto2 gstreamer gtk gzip hal hddtemp iconv ieee1349 ipod ipv6 isdnlog jabber jack java javascript jingle jpeg jpeg2k kdexdeltas lame ldap libg++ libnotify mad matroska midi mime mjpeg mmx mng mp3 mpeg mudflap musepack musicbrainz nautilus ncurses networkmanager nfs nls noamazon nptl nptlonly nsplugin offensive ogg openal opengl openmp pam pango pcre pdf perl png pppd python quicktime rdesktop readline real reflection ruby samba sdl session speex spell spl sse sse2 ssl startup-notification svg svga tcpd theora threads tiff totem truetype truetype-fonts type1-fonts unicode usb vcd vorbis wifi win32codecs wmf x264 x86 xine xml xml2 xorg xpm xv xvid zeroconf zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="radeon fbdev"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS

Comment 4 Nirbheek Chauhan 2007-07-10 14:12:19 UTC
In the second video, s/Artist1/Music , My mistake, sorry :)
Comment 5 Luis Medinas 2007-07-10 19:20:35 UTC
looks like it was a bug from cdrtools it works for Nirbheek with cdrkit. Closing
thanks for your help.