diff --git a/Casks/wireshark-chmodbpf.rb b/Casks/wireshark-chmodbpf.rb index b37e3e1ad09..a671552f018 100644 --- a/Casks/wireshark-chmodbpf.rb +++ b/Casks/wireshark-chmodbpf.rb @@ -29,17 +29,6 @@ cask 'wireshark-chmodbpf' do }, ] - postflight do - system_command '/usr/sbin/dseditgroup', - args: [ - '-o', 'edit', - '-a', Etc.getpwuid(Process.euid).name, - '-t', 'user', - '--', 'access_bpf' - ], - sudo: true - end - uninstall_preflight do set_ownership '/Library/Application Support/Wireshark' end diff --git a/Casks/wireshark.rb b/Casks/wireshark.rb index 0bff98c0b47..36af8b962c6 100644 --- a/Casks/wireshark.rb +++ b/Casks/wireshark.rb @@ -12,17 +12,6 @@ cask 'wireshark' do pkg "Wireshark #{version} Intel 64.pkg" - postflight do - system_command '/usr/sbin/dseditgroup', - args: [ - '-o', 'edit', - '-a', Etc.getpwuid(Process.euid).name, - '-t', 'user', - '--', 'access_bpf' - ], - sudo: true - end - uninstall_preflight do set_ownership '/Library/Application Support/Wireshark' end