欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页  >  移动技术

Charles学习笔记01——权限问题

程序员文章站 2022-03-29 20:17:04
环境:Mac OS Catalina 10.15.5版本:4.2.8问题:在启动和设置代理时报错Charles cannot configure your proxy settings while it is on a read-only volume. Perhaps you are running Charles from the disk image? If so, please copy Charles to the Applications folder and run it again....

环境:Mac OS Catalina 10.15.5

版本:4.2.8

问题:在启动和设置代理时报错 Charles cannot configure your proxy settings while it is on a read-only volume. Perhaps you are running Charles from the disk image? If so, please copy Charles to the Applications folder and run it again. Otherwise please ensure that Charles is running on a volume that is read-write and try again.

原因分析:权限问题。

解决办法:更改所有权以及权限

具体操作:控制台输入并执行

sudo chown -R root "/Applications/Charles.app/Contents/Resources"
sudo chmod -R u+s "/Applications/Charles.app/Contents/Resources"

然后重启Charles

本文地址:https://blog.csdn.net/vocaloid01/article/details/107210053