Mac OSx 默认的安全设置,在你下载的文件第一次打开时,会提醒你,这是一个从Internet下载的文件,是否要打开。
默认是开启这个设置的,但是,这个设置有时候真的觉得好麻烦。
Google —>
# 命令行下执行
xattr -d -r com.apple.quarantine /www/fckeditor/
#或者禁止该项
defaults write com.apple.LaunchServices LSQuarantine -bool NO
#启用该项
defaults write com.apple.LaunchServices LSQuarantine -bool YES
默认是开启这个设置的,但是,这个设置有时候真的觉得好麻烦。
Google —>
# 命令行下执行
xattr -d -r com.apple.quarantine /www/fckeditor/
#或者禁止该项
defaults write com.apple.LaunchServices LSQuarantine -bool NO
#启用该项
defaults write com.apple.LaunchServices LSQuarantine -bool YES
禁用MacOS下载警告
本文介绍如何关闭MacOS系统中对于从Internet下载文件的默认安全警告提示。提供了两种方法:一种是在命令行使用xattr命令删除特定文件的quarantine属性;另一种是通过defaults命令来全局禁用此功能。
81

被折叠的 条评论
为什么被折叠?



