diff --git a/Library/Homebrew/cask/quarantine.rb b/Library/Homebrew/cask/quarantine.rb index dcad88d7c9..5174207c7d 100644 --- a/Library/Homebrew/cask/quarantine.rb +++ b/Library/Homebrew/cask/quarantine.rb @@ -217,7 +217,7 @@ module Cask File.write(test_file, "") test_file.delete return true - rescue Errno::EACCES + rescue Errno::EACCES, Errno::EPERM # Using error handler below end else