More ensure db work successfully with strange permissions