caskroom/homebrew-cask — pull request #6947 by rolandwalker (2014-10-23 15:28:17+00:00)
Title: Handle permissions corner cases on uninstall

* unset BSD file flags if present
* attempt ownership change if permissions changes fail

fixes #6699
fixes #6752