macOS切换host提示没有权限

故障截图:

解决方法:把当前账号赋予host文件读与写的权限。

Step1点击前往前往文件夹输入“/etc/hosts”—前往

Step2选中hosts文件---右键显示简介。

Step3:点击共享与权限,先解锁,再添加账号,权限选择“读与写”。

 

GitHub 加速计划 / sw / SwitchHosts
29
0
下载
Switch hosts quickly!
最近提交(Master分支:3 个月前 )
ddf96318 Bump vite from 4.5.5 to 4.5.9 1 个月前
4ee74789 Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 4.5.5 to 4.5.9. - [Release notes](https://github.com/vitejs/vite/releases) - [Changelog](https://github.com/vitejs/vite/blob/v4.5.9/packages/vite/CHANGELOG.md) - [Commits](https://github.com/vitejs/vite/commits/v4.5.9/packages/vite) --- updated-dependencies: - dependency-name: vite dependency-type: direct:development ... Signed-off-by: dependabot[bot] <support@github.com> 1 个月前
Logo

旨在为数千万中国开发者提供一个无缝且高效的云端环境,以支持学习、使用和贡献开源项目。

更多推荐