Updating socket permissions