我编写了一个脚本来解析磁盘工具日志,输出和权限更改,提供比以前更多的访问权限。
有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--
?