sqlite often creates a journal, so you'd need to be able to write the dir to create that. I would suggest that pkgin is root only and that permissions for other than root are not helpful. I checked a system and found 755 on the dir and 644 on the db and sql.log. That to me is the right answer.