Opened 3 months ago

Last modified 3 months ago

#2572 infoneeded_new enhancement

Support creating a torrent with data outside i2psnark directory

Reported by: Juliette Lewis Owned by: zzz
Priority: major Milestone: undecided
Component: apps/i2psnark Version: 0.9.41
Keywords: symlink, i2psnark, usability Cc:
Parent Tickets: Sensitive: no

Description

I would help a lot if it were possible to create torrents from directories or files outside of the data directory.

A simple way to do this could be adding a toggle "Action for external data" field to the "Create torrent" dropdown with the options:

  • Symlink (Linux / Mac)
  • Hardlink (Linux / Mac)
  • Copy (All OSes)

For v1 it could stay like that and errors would be sent to the frontend.

The most import error to make readable would be the "PermissionError?". I2PSnark shouldn't just say "no permission", but tell where along the path there was no permission. Maybe write an article and hyperlink with more information on what went wrong and how to resolve the issue.

Subtickets

Change History (1)

comment:1 Changed 3 months ago by zzz

Status: newinfoneeded_new

We support this now. The 'data to seed' field in the create torrent form supports full absolute paths. It's not a symlink, hardlink, or copy; it simply saves the full path in the configuration.

It's a little difficult to use, because there's no 'browse' popup available, you have to copy in the whole path. A browse popup would be difficult, and possibly a security risk, as the user isn't necessarily on the same machine as where I2P is running.

As far as permissions error messages, I don't know if our current messages provide enough information or not, perhaps you could test and report back?

Note: See TracTickets for help on using tickets.