HTTrack Website Copier
Free software offline browser - FORUM
Subject: Re: How to set a default base path with htsserver
Author: Jocko
Date: 04/05/2012 20:33
 
> They'll still be able to inject additional options
> (-O <path> for example), so this won't be safe
> anyway.
> 
> The best way in my opinion would be to create a
> dedicated user (such as "httrack" or "mirror") ; for
> example by using adduer/useradd, or by editing
> /etc/passwd, and only allow one specific directory
> to be writable by this user.
> 

Thank about your quick answer.

Indeed, I forgot the option -O ;-)

I already tested to  create an user with a right homedirectory and the default
base path is then its home directory in the step2 menu, but :
- The user isn't fully chrooted in its homedirectory (the base path contains
the full path of its home directory)
- The user can change it (parent folder) and the copy is then saved in the new
folder.
- After another new sequence, the menu step2 contains the base path modified
by the user. For the last point, I understood  how restore the base path ( I
just found the file .httrack.ini) 
 
Reply Create subthread


All articles

Subject Author Date
How to set a default base path with htsserver

04/05/2012 11:52
Re: How to set a default base path with htsserver

04/05/2012 19:46
Re: How to set a default base path with htsserver

04/05/2012 20:33
Re: How to set a default base path with htsserver

04/07/2012 09:02




5

Created with FORUM 2.0.11