The same problem exists for me, using standard 32bit stable.

The problem is that perl sees a symlink as a directory, if it points to a
directory.  Perhaps this is a change since 5.005 -> newer versions of
perl?

Anyhow, update-jail creates directories if it sees that they are such, via
-d.. and so this is why our problem exists...

The solution is to add a check at line 172 of update-jail.  Change this
line from:

   if (-d $file) {

to:

   if (-d $file && ! -l $file) {

and now symlinked directories will not be created via mkdir, but by
rsync.. and this works much better.

Please let me know how this works for you!

Thanks


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to