mamboitaliano21/subdownloader

Only runs when directory has write permissions

Closed this issue · 4 comments

I prefer to have all code owned root:root. This causes an error with
subdownloader. 

I would like to suggest that you consider putting the code in one place
(and allowing not-write access) and having configuration files in the home
directory.

Thanks for a great util. 


Original issue reported on code.google.com by andrew.b...@gmail.com on 30 Oct 2007 at 7:23

"Only runs when directory has write permissions" <- what directory?

Could you be more specific?

Original comment by set...@gmail.com on 1 Apr 2008 at 3:19

Ive put the subdownloader code into the /opt directory. Root is the owner and 
group,
others do not have write permissions. Subdownloader then will not connect to the
server. When I recursively change permissions on the directory to have write
permissions for others, or change the owner to the current user, all is ok.

My suggestion is to have subdownloader write any data that it needs to a 
directory 
in the user's home (perhaps ~/.subdownloader for example), thereby allowing the 
code
to be shared on the system, yet remain unwritable and secure.

This is maybe better labeled a feature request than a bug... 

Original comment by andrew.b...@gmail.com on 1 Apr 2008 at 7:56

I don't remember any info being writen into the system besides the subtitles, 
but I
don't know exactly how 1.2.9 version works since I wasn't on the team yet.

I'll do some testing on this matter and let this so called feature ship on the 
next
version.

Thanks for the suggestion and any more you have are welcomed.

Original comment by set...@gmail.com on 2 Apr 2008 at 1:20

  • Changed state: Accepted
new 2.0 version uses temporary directories. So this issue should have been 
fixed.

Please report in the future if you keep having it.

Original comment by capiscuas@gmail.com on 12 Jun 2008 at 8:49

  • Changed state: Fixed