[英]when i use polipo on my terminal proxy http
I use polipo
on my terminal proxy http request. 我在终端代理HTTP请求上使用
polipo
。 When I config done, I reload it. 配置完成后,我会重新加载它。 It happened an error.
它发生了一个错误。
error information on terminal: 终端上的错误信息:
I tried change owner and group of the file, but it does not reload. 我尝试更改文件的所有者和组,但不会重新加载。
sudo chgrp staff homebrew.mxcl.polipo.plist
sudo chown baidu homebrew.mxcl.polipo.plist
/usr/local/Cellar/polipo/1.1.1/homebrew.mxcl.polipo.plist: Path had bad ownership/permissions
It seems that you have installed polipo
or homebrew
with root permissions. 看来您已经以root权限安装了
polipo
或homebrew
。
Try to set permissions of /usr/local/Cellar/polipo/1.1.1/
according to your username (my username is hamidrohani
): 尝试根据您的用户名(我的用户名是
hamidrohani
)设置/usr/local/Cellar/polipo/1.1.1/
权限:
$ ls -lah /usr/local/Cellar/polipo/1.1.1/
total 88
drwxr-xr-x 9 hamidrohani admin 306B Aug 2 02:38 .
drwxr-xr-x 3 hamidrohani admin 102B May 19 02:50 ..
-rw-r--r-- 1 hamidrohani admin 24K May 15 2014 CHANGES
-rw-r--r-- 1 hamidrohani admin 1.0K May 15 2014 COPYING
-rw-r--r-- 1 hamidrohani admin 369B May 19 02:50 INSTALL_RECEIPT.json
-rw-r--r-- 1 hamidrohani admin 622B May 15 2014 README
drwxr-xr-x 3 hamidrohani admin 102B May 19 02:50 bin
-rw-r--r-- 1 hamidrohani admin 816B May 19 02:50 homebrew.mxcl.polipo.plist
drwxr-xr-x 5 hamidrohani admin 170B May 19 02:50 share
or try to reinstall homebrew
and then polipo
in your current user without any sudo
prefixes. 或尝试在没有任何
sudo
前缀的当前用户中重新安装homebrew
,然后安装polipo
。
Launch agents will be installed in ~/Library/LaunchAgents
. 启动代理将安装在
~/Library/LaunchAgents
。 So you can start polipo
with Homebrew Services: 因此,您可以从Homebrew Services开始
polipo
:
brew services start polipo
Homebrew Services will be installed automatically within installation of homebrew
; 家酿服务会在安装后自动安装
homebrew
; Otherwise install it: 否则安装它:
brew tap homebrew/services
After a successful installation, look at here for configurations. 成功安装后,请在此处查看配置。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.