[Bug 188341] [NEW] Recursive symlinks not detected with -f -R (-r)

Peter Parkkali peter.parkkali at iki.fi
Sat Feb 2 13:28:43 GMT 2008


Public bug reported:

Binary package hint: genisoimage

Combining the -f (follow symlinks) and -R or (-r) (use Rock Ridge) makes
genisoimage loop on recursive symlinks.

Below are the minimal steps to reproduce this, but it naturally happens
with more complex symlink loops too.

pfp at suoruumis:~$ mkdir /tmp/test
pfp at suoruumis:~$ cd /tmp/test
pfp at suoruumis:/tmp/test$ echo foobar > foo.bar
pfp at suoruumis:/tmp/test$ ln -s . loop
pfp at suoruumis:/tmp/test$ ls -l
total 4,0K
-rw-r--r-- 1 pfp pfp 7 2008-02-02 15:19 foo.bar
lrwxrwxrwx 1 pfp pfp 1 2008-02-02 15:19 loop -> ./
pfp at suoruumis:/tmp/test$ 
pfp at suoruumis:/tmp/test$ genisoimage -f -R --print-size .
Warning: -follow-links does not always work correctly; be careful.
I: -input-charset not specified, using utf-8 (detected in locale settings)
genisoimage: Too many levels of symbolic links. File ./loop/loop/loop/loop/loop/loop/loop/loop/loop/loop/loop/loop/loop/loop/loop/loop/loop/loop/loop/loop/loop/loop/loop/loop/loop/loop/loop/loop/loop/loop/loop/loop/loop/loop/loop/loop/loop/loop/loop/loop/loop is not readable - ignoring
Using LOOP000 for  ./rr_moved/loop (loop)
Using LOOP001 for  ./rr_moved/loop (loop)
Using LOOP002 for  ./rr_moved/loop (loop)
Using LOOP003 for  ./rr_moved/loop (loop)
Using LOOP004 for  ./rr_moved/loop (loop)
Total extents scheduled to be written = 217
217
pfp at suoruumis:/tmp/test$

** Affects: cdrkit (Ubuntu)
     Importance: Undecided
         Status: New

-- 
Recursive symlinks not detected with -f -R (-r)
https://bugs.launchpad.net/bugs/188341
You received this bug notification because you are a member of Ubuntu
Burning Team, which is a bug contact for cdrkit in ubuntu.



More information about the Ubuntu-burning mailing list