When I use FileUtils.copyDirectory()
, the execute bits get turned off for executable files.
Do I have to turn them on manually?
FWIW, my umask is set to 0027 but it looks like FileUtils.copyDirectory()
is not using that setting since the 'other' permissions, aside from the execute bit, are preserved.