Set permissions for correct user