[tahoe-dev] [tahoe-lafs] #641: tahoe backup should be able to backup symlinks
tahoe-lafs
trac at allmydata.org
Tue Feb 24 17:09:29 PST 2009
#641: tahoe backup should be able to backup symlinks
-------------------------------+--------------------------------------------
Reporter: francois | Owner:
Type: defect | Status: new
Priority: minor | Milestone: undecided
Component: code-frontend-cli | Version: 1.3.0
Keywords: | Launchpad_bug:
-------------------------------+--------------------------------------------
Changes (by azazel):
* cc: alberto@… (added)
Comment:
I've made a patch, which instead of yours, skips everything that isn't a
file or a directory. This also work for file that are unix sockets,
devices and so on.
Please note that really non-dangling links (targets) gets backupped with
or without your patch. Just dangling links are dangerous.
I've attached to this ticket a patch file, 'small_symlink_test.patch'
really an hack that alters your code to do a much more simple test without
using any other function call or temp dir. If runner under linux it
demonstrates that links with real target works, and that maybe your test
code fails somewhere in being a real useful test?
Now i'm too tired and i'll look at it more in detail tomorrow, maybe i'll
end up with a franken-patch that will glue the best of the two. Have a
look at my patches.
--
Ticket URL: <http://allmydata.org/trac/tahoe/ticket/641#comment:3>
tahoe-lafs <http://allmydata.org>
secure decentralized file storage grid
More information about the tahoe-dev
mailing list