[Xapian-discuss] trouble with user's right indexing with omega
Olly Betts
olly at survex.com
Mon Oct 14 00:26:59 BST 2013
On Sun, Oct 13, 2013 at 12:38:20PM +0200, Emmanuel Garette wrote:
> In omindex.cc, if I comment "inc_tag_added":
>
> if (group) {
> newdocument.add_boolean_term(string("I#") + group);
> //inc_tag_added = true;
> }
>
> all is ok:
>
> # delve -t "I at ftp" dbb/
> Posting List for term `I at ftp' (termfreq 1, collfreq 0): 1
>
> Why user's right are ignore when group has read right in the file? Is a
> normal behavior or a bug?
Yes, it's a bug (the user and group readability aren't interesting for
world-readable files, but user and group readability can of course
confer readability separately).
Thanks for spotting this - I've committed a fix.
Cheers,
Olly
More information about the Xapian-discuss
mailing list