Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Sign upErase data (all) deletes *EVERYTHING #1169
Comments
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Novik
Jan 11, 2016
Owner
This is a normal plugin behavior.
But I can to add an option to config for disabling this command, if you need this.
|
This is a normal plugin behavior. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
PulsedMedia
Jan 11, 2016
Somehow i doubt this was the intention that user looses all their data on that download directory.
Users are loosing all other torrents as well, not just the one they want to delete, but every single other too.
What was it supposed to even differently than the normal remove torrent + delete data?
Option to disable that would be minimum tbh
PulsedMedia
commented
Jan 11, 2016
|
Somehow i doubt this was the intention that user looses all their data on that download directory. What was it supposed to even differently than the normal remove torrent + delete data? Option to disable that would be minimum tbh |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Novik
Jan 11, 2016
Owner
Users are loosing all other torrents as well
Russians have a good proverb for this case. About a fool and dick from glass.
"Don't add torrent's name to path" - is a dangerous option. And user must know what he makes, when he uses it. For example, two different torrents will have a files/directories wit a same name. And?
What was it supposed to even differently than the normal remove torrent + delete data?
You may have auto-unpacked data in the torrent's directory.
Option to disable that would be minimum tbh
OK
Russians have a good proverb for this case. About a fool and dick from glass.
You may have auto-unpacked data in the torrent's directory.
OK |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
PulsedMedia
Jan 11, 2016
Ah ok, so it has a practical use case.
I wonder if we should rather disable the option "Don't add torrent's name to path" rather than this option.
PulsedMedia
commented
Jan 11, 2016
|
Ah ok, so it has a practical use case. I wonder if we should rather disable the option "Don't add torrent's name to path" rather than this option. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
|
OK, I will add both options. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
PulsedMedia
Jan 11, 2016
Coming from helpdesk btw; You can never trust user to know what he/she is doing.
There is varying skill levels, and ways to use are as varied as there are users. User out of his skill level would be completely happy to do rm -rf / if someone instructed them to do it, not knowing what he/she is doing.
PulsedMedia
commented
Jan 11, 2016
|
Coming from helpdesk btw; You can never trust user to know what he/she is doing. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
ORYLY
Jan 13, 2016
Part of the issue is that the label for the second option is unclear. "All" is ambiguous. If the only extra behavior is deleting the directory, then "Remove and Delete Data (All)" could be "Remove and Delete Directory","Remove and Delete Folder" or "Remove and Delete Path" instead.
ORYLY
commented
Jan 13, 2016
|
Part of the issue is that the label for the second option is unclear. "All" is ambiguous. If the only extra behavior is deleting the directory, then "Remove and Delete Data (All)" could be "Remove and Delete Directory","Remove and Delete Folder" or "Remove and Delete Path" instead. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Ineluctable
Jan 15, 2016
This one got me once - I figured deleting all of a torrent's data would be a good idea - and then I noticed a huge chunk of files missing. You live and learn though. :P
Maybe a more explanatory warning on the prompt might help, like:
Do you really want to remove the selected torrent(s)?
WARNING: This will delete all files in this torrent's current directory.
That would give a hint that if a file is not in a directory of its own...proceed at your own peril.
Ineluctable
commented
Jan 15, 2016
|
This one got me once - I figured deleting all of a torrent's data would be a good idea - and then I noticed a huge chunk of files missing. You live and learn though. :P Maybe a more explanatory warning on the prompt might help, like:
That would give a hint that if a file is not in a directory of its own...proceed at your own peril. |
added a commit
that referenced
this issue
Jan 20, 2016
added a commit
that referenced
this issue
Jan 20, 2016
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Novik
Jan 20, 2016
Owner
OK, I will add both options.
In the conf/access.ini:
canAddTorrentsWithoutPath = yes
canAddTorrentsWithoutStarting = yes
canAddTorrentsWithResume = yes
canAddTorrentsWithRandomizeHash = yes
In the plugins/erasedata/conf.php:
$enableForceDeletion = false;
Part of the issue is that the label for the second option is unclear.
Maybe a more explanatory warning on the prompt might help, like:
Also was changed.
In the conf/access.ini: canAddTorrentsWithoutPath = yes In the plugins/erasedata/conf.php: $enableForceDeletion = false;
Also was changed. |
Novik
closed this
Jan 27, 2016
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
mmalisz
Feb 23, 2017
I've updated from stable to master and couldn't find the erase with all data option.
It would be nice to have that information in the FAQ section. I've spent about an hour looking through commits to finally find this issue.
It would also be handy if admin could define the $enableForceDeletion variable through conf/plugins.ini, so it could be easier to remember.
mmalisz
commented
Feb 23, 2017
|
I've updated from stable to master and couldn't find the erase with all data option. It would also be handy if admin could define the $enableForceDeletion variable through conf/plugins.ini, so it could be easier to remember. |
PulsedMedia commentedJan 6, 2016
We've had a lot of users loose all their torrents due to this option.
Finally one of our users found the reproduction for this issue:
This will result in all torrents data removed.
ie. if the default download directory is /home/USERNAME/data, everything under that directory will be deleted.