diff options
author | Guy Harris <guy@alum.mit.edu> | 2018-10-21 14:35:21 -0700 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2018-10-21 21:36:42 +0000 |
commit | af55deabbc8fd3fdcd2752dae3ce5b5dd60b6b0e (patch) | |
tree | adf2ad86a9f0d0dbf030cf3cbbd2e7c49c9036bb /packaging/macosx/Scripts/chmodbpf-postinstall.sh | |
parent | 1d39055ec94eb94e38ee75d699c14f07d15f8f32 (diff) |
More permission fixes.
Take away group write permission for stuff under
/Library/Application Support/Wireshark. For some reason, it's getting
set; it's not necessary.
Change-Id: I4280a635e0c171cf5ad17cb91fe20d746c2daf79
Reviewed-on: https://code.wireshark.org/review/30317
Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'packaging/macosx/Scripts/chmodbpf-postinstall.sh')
-rwxr-xr-x | packaging/macosx/Scripts/chmodbpf-postinstall.sh | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/packaging/macosx/Scripts/chmodbpf-postinstall.sh b/packaging/macosx/Scripts/chmodbpf-postinstall.sh index 0ba325141c..f84bbd3c9e 100755 --- a/packaging/macosx/Scripts/chmodbpf-postinstall.sh +++ b/packaging/macosx/Scripts/chmodbpf-postinstall.sh @@ -6,11 +6,13 @@ # publicly readable and, for directories and executables, not publicly # searchable/executable. # +# Also take away group write permission. +# # XXX - that may be a problem with the process of building the installer # package; if so, that's where it *should* be fixed. # chown -R root:wheel "/Library/Application Support/Wireshark" -chmod -R a+rX "/Library/Application Support/Wireshark" +chmod -R a+rX,go-w "/Library/Application Support/Wireshark" CHMOD_BPF_PLIST="/Library/LaunchDaemons/org.wireshark.ChmodBPF.plist" BPF_GROUP="access_bpf" |