Revert "Improve 'permit' tool: we apparently don't need the ugly hack for preserving executable bits, we can use the 'X' modifier instead."

This reverts commit 312b3e201f1476d466390b7a33789afa2623ba0a. It didn't work.