-
Notifications
You must be signed in to change notification settings - Fork 207
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
os_world_writable_library_folder_configure.yaml blocked by SIP? #445
Comments
@iamflaurian how are you running this command? |
Hey @golbiga I add the command in various formats into a script that will be deployed using Jamf Pro. I did not touch it because it worked before updating the macOS versions. Please note, I test it also by using the command in terminal or in other various formats.
|
@iamflaurian so this is a CIS issue, I've let some folks know, but I would recommend opening a ticket with them (create an account on https://workbench.cisecurity.org - if you don't have one) |
Does it mean, CIS has to remove these rule because of SIP block? I'll create an account and also a ticket :) Thanks @golbiga |
@iamflaurian actually we needed to update something on our side, which I will take care of today. We need to add |
Hey @golbiga |
CIS recommendation:
Fix:
|
os_world_writable_library_folder_configure.yaml blocked by SIP
Steps to reproduce
I tried to set the "Ensure No World Writable Files Exist in the Library" by using the command from JCE with MDM (Script) and via terminal.
IFS=$'\n' for libPermissions in $( /usr/bin/find /System/Volumes/Data/Library -type d -perm -2 | /usr/bin/grep -v Caches | /usr/bin/grep -v /Preferences/Audio/Data ); do /bin/chmod -R o-w "$libPermissions" done
Operating System version
14.7.1 / 15.1 tested it on three different machines
Intel or Apple Silicon
Its just possible for me to test it with Apple Silicon devices
What is the current bug behavior?
For me its seems like its blocked by SIP (System Integrity Protection)
What is the expected correct behavior?
The command should set "0"
Relevant logs and/or screenshots
find: /System/Volumes/Data/Library/Trial: Operation not permitted
find: /System/Volumes/Data/Library/Management/Files/ProtectSudoersFile: Permission denied
find: /System/Volumes/Data/Library/Caches/com.apple.amsengagementd.classicdatavault: Operation not permitted
find: /System/Volumes/Data/Library/Caches/com.apple.aneuserd: Operation not permitted
find: /System/Volumes/Data/Library/Caches/com.apple.iconservices.store: Permission denied
find: /System/Volumes/Data/Library/Caches/com.apple.aned: Operation not permitted
The text was updated successfully, but these errors were encountered: