[Xapian-discuss] Searching multiple databases with omega

Olly Betts olly at survex.com
Fri Feb 20 04:57:22 GMT 2009


On Fri, Feb 20, 2009 at 01:08:30PM +1030, Frank J Bruzzaniti wrote:
> I checked all the permissions and they are identical.
> If I try from the command line "./omega DB=scanned_documents P=test" I 
> still get  Database `scanned_documents' couldn't be opened

Unhelpfully for debugging this, the actual error doesn't get reported -
try this patch which also reports the actual error from opening:

http://oligarchy.co.uk/xapian/patches/omega-report-db-open-error.patch

> For scanned_documents:
> 
> drwxr-xr-x 2 support users     4096 2009-02-20 12:57 .
> drwxrwxrwx 6 root    root      4096 2009-02-18 18:25 ..

World writable directories are really best avoided - they make compromise
of any user account more of a problem.

> -rw-r--r-- 1 support users        0 2009-02-20 12:57 cd
> -rw-r--r-- 1 support users        0 2009-02-20 12:59 flintlock
> -rw-r--r-- 1 support users       12 2009-02-18 16:31 iamflint
> -rw-r--r-- 1 support users        0 2009-02-20 12:57 ls

Not quite sure where "cd" and "ls" came from, but they shouldn't cause
any problems.

Cheers,
    Olly



More information about the Xapian-discuss mailing list