petdance/ack2 — pull request #515 by dolmen (2014-11-26 22:24:04+00:00)
Title: Fix #485: reliance on english system error message

Fix for #485.
Instead of checking the string system error message `permission denied` (which maybe localized, so the match fails on non-English locales), check `$!` by comparing it to `Errno::EACCES`.