test socket permission on initialization