Ran Disk Utility修复权限,但不确定它是否正在做正确的工作


1

我编写了一个脚本来解析磁盘工具日志,输出和权限更改,提供比以前更多的访问权限。

有5个结果:

2014-09-21 21:42:31 +1000: Permissions differ on “usr/lib/libruby.2.0.dylib”; should be lrwxrwxrwx ; they are lrwxr-xr-x . 2014-09-21 21:42:31 +1000: Permissions differ on “usr/lib/libruby.dylib”; should be lrwxrwxrwx ; they are lrwxr-xr-x . 2014-09-21 21:42:32 +1000: Permissions differ on “Applications/Safari.app/Contents/Resources/Safari.help/Contents/Resources/index.html”; should be lrwxr-xr-x ; they are -rw-r--r-- . 2014-09-21 21:42:34 +1000: Permissions differ on “Library/Printers/InstalledPrinters.plist”; should be -rw-rw-rw- ; they are -rw-r--r-- . 2014-09-21 21:43:09 +1000: Permissions differ on “System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/libruby.2.0.dylib”; should be lrwxrwxrwx ; they are lrwxr-xr-x .

  • 这里发生了什么: 2014-09-21 21:42:32 +1000: Permissions differ on “Applications/Safari.app/Contents/Resources/Safari.help/Contents/Resources/index.html”; should be lrwxr-xr-x ; they are -rw-r--r--

曾经有Apple支持文章列出了哪些修复权限错误是“预期的”,因为有时候后期更新会更改,但不会显示用于显示权限的BOM和收据文件。我无法找到“官方”列表来了解这些是“预期的”还是有问题的。
bmike

1
@bmike当前可以忽略的修复权限列表 support.apple.com/en-us/HT203172 。 OP列出的许多项目不在此列表中。
Bryan P
By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.