fix socket permission, path stringification