Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

为 kext 设置正确的权限 #3

Closed
vayn opened this issue Sep 6, 2015 · 4 comments
Closed

为 kext 设置正确的权限 #3

vayn opened this issue Sep 6, 2015 · 4 comments

Comments

@vayn
Copy link

vayn commented Sep 6, 2015

今天更新代码之后重新 kextload proximac.kext,结果出现以下提示:

/usr/local/share/proximac/proximac.kext failed to load - (libkern/kext) authentication failure (file ownership/permissions); check the system/kernel logs for errors or try kextutil(8).

一开始以为是 dev mode 的原因

sudo nvram boot-args 发现 kext-dev-mode 已经设置好了。

查了一圈,原来必须要给 kext 设置以下权限:

drwxr-xr-x 3 root wheel

chown & chmod 之后就可以 kextload 了。建议更新下使用说明。

@csujedihy
Copy link
Owner

因为新版使用方法变了

Usage

  1. If you plan to use Proximac on OSX 10.10+, please run sudo nvram boot-args="debug=0x146 kext-dev-mode=1". (Sorry, I do not have enough money to buy a developer membership to sign the kext)
  2. Install libuv first. Run brew install libuv or whatever
  3. Run curl -fsSL https://raw.githubusercontent.com/proximac-org/proximac-install/master/install.py |python
  4. Set up your config file which indicates Proximac's work mode (VPN or per-App) and proxy configuration
  5. Run proximac start [path of your config file] to start Proximac
  6. Run proximac stop to stop Proximac

在老版本的readme中有这么一句,sudo chown -R root:wheel proximac.kext

@csujedihy
Copy link
Owner

如果通过脚本一键安装curl -fsSL https://raw.githubusercontent.com/proximac-org/proximac-install/master/install.py |python,是不会出现权限问题。

@vayn
Copy link
Author

vayn commented Sep 7, 2015

好的,没注意安装方法已经更新到自动化方式了。以后省事了:)

@vayn vayn closed this as completed Sep 7, 2015
@csujedihy
Copy link
Owner

感谢反馈意见!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants