Control: severity -1 normal
Control: retitle -1 topdirs no longer accepts relative paths

Thanks for your quick reply!

On Wed, May 06, 2015 at 04:42:02PM +0200, Jean-Francois Dockes wrote:
> The way to specify things to be indexed is to set the "topdirs" variable
> inside someconfdir/recoll.conf. This can be set by editing the file or from
> the indexing configuration section of the GUI.
>
> What is the value of this variable inside 'someconfdir' in the above test ?

My topdirs variable is set to "./". It looks like the issue relates to
relative paths only.

> Furthermore, additional args have always been ignored by recollindex if
> neither -i nor -e was set. I just checked that this was true of 1.17
> 
> Did you actually mean to type "-i some/path" in the above report ?

Probably. I tried both with -i and without -i. The behaviour for the new
version would always be to only consider files below /tmp.

Given the above I guess that my issue relates to recollindex having
added a call to chdir that was not present in the old version:

http://sources.debian.net/src/recoll/1.20.3-2/index/recollindex.cpp/#L403

I am not sure whether the issue at hand is worth fixing at all or
whether I just need to update my configuration in a suitable way.

Possibly the value of topdirs could be canonicalized using realpath
prior to invoking chdir? That's probably just the tip of the iceberg
though.

Helmut


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to