Ruby 警告:使用JackOSX的世界可写目录/usr/local不安全?

Ruby 警告:使用JackOSX的世界可写目录/usr/local不安全?,ruby,security,audio,jack,Ruby,Security,Audio,Jack,最近,我更新了我所有的gems,并收到以下消息: ~/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/rubygems/ext/builder.rb:73: warning: Insecure world writable dir /usr/local in PATH, mode 040777 Warning: Some directories in /usr/local/share/man aren't writable. This can happen if

最近,我更新了我所有的gems,并收到以下消息:

~/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/rubygems/ext/builder.rb:73: warning: Insecure  world writable dir /usr/local in PATH, mode 040777
Warning: Some directories in /usr/local/share/man aren't writable.
This can happen if you "sudo make install" software that isn't managed
by Homebrew. If a brew tries to add locale information to one of these
directories, then the install will fail during the link step.
You should probably `chown` them:

/usr/local/share/man/de
/usr/local/share/man/de/man1 

Warning: Unbrewed .pc files were found in /usr/local/lib/pkgconfig.
If you didn't put them there on purpose they could cause problems when
building Homebrew formulae, and may need to be deleted.

Unexpected .pc files:
    /usr/local/lib/pkgconfig/jack.pc

Warning: Some directories in your path end in a slash.
Directories in your path should not end in a slash. This can break other
doctor checks. The following directories should be edited:
    ~/.nvm/v0.10.28/lib/node_modules/coffee-script/bin/

Warning: Some keg-only formula are linked into the Cellar.
Linking a keg-only formula, such as gettext, into the cellar with
`brew link <formula>` will cause other formulae to detect them during
the `./configure` step. This may cause problems when compiling those
other formulae.

Binaries provided by keg-only formulae may override system binaries
with other strange results.

You may wish to `brew unlink` these brews:

    freetype
这是什么意思

我正在学习Ruby,在运行我的Rails应用程序后收到:

$ gem update
或:

我跑:

$ brew doctor
我得到了这个信息:

~/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/rubygems/ext/builder.rb:73: warning: Insecure  world writable dir /usr/local in PATH, mode 040777
Warning: Some directories in /usr/local/share/man aren't writable.
This can happen if you "sudo make install" software that isn't managed
by Homebrew. If a brew tries to add locale information to one of these
directories, then the install will fail during the link step.
You should probably `chown` them:

/usr/local/share/man/de
/usr/local/share/man/de/man1 

Warning: Unbrewed .pc files were found in /usr/local/lib/pkgconfig.
If you didn't put them there on purpose they could cause problems when
building Homebrew formulae, and may need to be deleted.

Unexpected .pc files:
    /usr/local/lib/pkgconfig/jack.pc

Warning: Some directories in your path end in a slash.
Directories in your path should not end in a slash. This can break other
doctor checks. The following directories should be edited:
    ~/.nvm/v0.10.28/lib/node_modules/coffee-script/bin/

Warning: Some keg-only formula are linked into the Cellar.
Linking a keg-only formula, such as gettext, into the cellar with
`brew link <formula>` will cause other formulae to detect them during
the `./configure` step. This may cause problems when compiling those
other formulae.

Binaries provided by keg-only formulae may override system binaries
with other strange results.

You may wish to `brew unlink` these brews:

    freetype
问题依然存在


安装的插孔

出于某种原因,许多软件包在安装时会修改目录的读/写/执行状态。这是一种可怕的做法。有什么理由不只是用brew安装插孔安装吗?我相信这是一个与您安装的软件包类似的软件包。我最近发现brew和jackosx已经安装在system im Musitor中,而不是专业程序员,但这条消息最近碰巧出现,可能是在我通过rvm安装ruby 2.1.1时。也许先卸载,或者brew做这个?我发现了,是的,jack可以工作,但仍然收到消息,不管怎样,jackosx就是发生这种情况的原因。不管出于什么原因,它决定更改该目录的权限集是个好主意。正如我之前所说,这是一种不好的做法。我建议卸载jackosx,修复brew doctor中的所有错误,然后从brew本身安装它。