Set uid/gif to effective uid/gid

Sqlite3 uses 'access' to check the existance of some files. However,
'access' does not check permission against euid/egid like 'open', but
against real uid/gid. Forcing uid/gid to be equal to euid/egid guarantee
that 'access' and 'open' have the same behaviour.

Should fix SELinux DAC_* denies