私はsudo
権限でhomebrew
を使用してインストールしようとすると、たとえばsudo brew install lua
のために、私はこのメッセージhomebrewはsudoでどのように使われないのですか?
Error: Running Homebrew as root is extremely dangerous and no longer supported. As Homebrew does not drop privileges on installation you would be giving all build scripts full access to your system.
を取得し、私はこのエラーを理解し、それは良いアイデアだと思いますが、どのようにbrew
は私がいることを検出しませんsudo
を使用していますか?この機能は私のアプリケーションでも実装できるものですか?
この質問は、UnixまたはUnixライクなOSを扱うStack Exchangeサイトの1つに属している可能性があります。 – esote