Fix sock file permissions