`FilePath.chmod` fails on Mac OS? If so, should certainly be filed as a core bug.

Anyway you should not call private methods from the JRE. If you need to use something other than `FilePath`, use `java.nio.file` utilities to set the file mode, or `File.setReadable`.