[CocoaPods] - warning: Insecure

2021-03-24  本文已影响0人  Matsonga

错误日志

/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/universal-darwin20/rbconfig.rb:229:
 warning: Insecure world writable dir /usr/local/sbin in PATH, mode 040777

目录被赋予040777的权限,不安全。

将提示权限改为775,即可解决。

在终端写入下列命令行,即可消除上面的提示。

sudo chmod go-w /usr/local/bin
sudo chmod 775 /usr/local

转自:https://blog.csdn.net/Felicity294250051/article/details/51901113

上一篇 下一篇

猜你喜欢

热点阅读