Git Product home page Git Product logo

Comments (4)

ppoffice avatar ppoffice commented on May 31, 2024 1

@Here21
在问题解决之前,请先在terminal中手动调整下hosts的文件权限:

sudo chown your_username /etc/hosts
sudo chmod 644 /etc/hosts

这个问题可能和macOS有关系,我会进一步研究下。

from hozz.

ppoffice avatar ppoffice commented on May 31, 2024

@Here21
请具体描述下软件运行的环境,用户账户等等条件

from hozz.

Here21 avatar Here21 commented on May 31, 2024

Mac book pro 2016
15‘ touch-bar
macOS Sierra 10.12.2
用户账户:管理员

问题描述:打开软件,自动更新到最新版,之后新建并添加了hosts,然后提示输入密码,完成之后hozz下方红色条提示无法获取权限,重复多次都是这样

之前在旧电脑上用过,Ubuntu,win10,Mac mini都正常使用

from hozz.

ppoffice avatar ppoffice commented on May 31, 2024

@Here21 这与新系统的sudo更改有关:automation-stack/electron-sudo#39
我建议的做法是手动添加当前用户的hosts写权限:

sudo chmod +a "`whoami` allow read,write" /etc/hosts

这个Bug需要等electron-sudo解决新系统的问题。

from hozz.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.