changed permissions for the db