add socket permissions