美文网首页
[CocoaPods] - warning: Insecure

[CocoaPods] - warning: Insecure

作者: Matsonga | 来源:发表于2021-03-24 09:26 被阅读0次

错误日志

/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

相关文章

网友评论

      本文标题:[CocoaPods] - warning: Insecure

      本文链接:https://www.haomeiwen.com/subject/wwechltx.html