#2329: Deluge creates parent directories for output
-------------------------------------+--------------------------------------
 Reporter:  B-Con                    |       Owner:        
     Type:  bug                      |      Status:  new   
 Priority:  major                    |   Milestone:  Future
Component:  other                    |     Version:  1.3.6 
 Keywords:  create,parent,directory  |  
-------------------------------------+--------------------------------------
 '''Problem'''

 Deluge creates the necessary parent directories of it. However, it does
 not own the parent directory of the torrent output and thus should not
 manage it. Creating it is being overly helpful and the problems with auto-
 creating it include:

  a) The parent directory may ''intentionally'' be missing

  b) Deluge may create the directory with the wrong permissions

 '''Steps to reproduce'''

  1) Download torrent

  2) Exit Deluge

  3) Move said torrent and delete torrent's parent directory

  4) Open Deluge

  5) Deluge will create the parent directory and re-download the the
 torrent

 '''Example'''

 I had all torrents saved in a path like /storage/data/torrents/. (Eg:
 /storage/data/torrents/TORRENT_NAME.) /storage/data was a mountpoint for
 another filesystem. I quit Deluge, unmounted /storage/data, and rebooted.
 Deluge was set to auto-start on boot and it created /storage/data/torrents
 and then started to re-download everything. This both filled up the
 filesystem for /storage and caused undesired leeching.

 '''Desired behavior'''

 If the parent directory for a torrent is missing Deluge should not create
 it and instead fail to proceed.

-- 
Ticket URL: <http://dev.deluge-torrent.org/ticket/2329>
Deluge <http://deluge-torrent.org/>
Deluge project

-- 
You received this message because you are subscribed to the Google Groups 
"Deluge Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/deluge-dev?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to