[Xapian-discuss] trouble with user's right indexing with omega

Emmanuel Garette egarette at cadoles.com
Mon Oct 14 19:35:35 BST 2013


Le 14/10/2013 01:26, Olly Betts a écrit :
> 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.
Thanks for your reactivity!

I'm working on an ACL's right support for omindex. I've send a patch in
trac when it will be usable if you are interesting.

Regards,
>
> Cheers,
>     Olly


-- 
Emmanuel Garette
Ingénieur logiciels libres

Cadoles (http://www.cadoles.com)
Experts EOLE, Gaspacho, logiciels libres


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 901 bytes
Desc: OpenPGP digital signature
URL: <http://lists.xapian.org/pipermail/xapian-discuss/attachments/20131014/7f4c0c3c/attachment.sig>


More information about the Xapian-discuss mailing list