// TODO: current wagon uses zip which will use the umask on remote
// host instead of honouring our settings
// Force group writeable
if (wagon instanceof CommandExecutor) {
CommandExecutor exec = (CommandExecutor) wagon;
exec.executeCommand("chmod -Rf g+w,a+rX "
+ repository.getBasedir());
}
} catch (ResourceDoesNotExistException e) {
throw new MojoExecutionException("Error uploading site", e);
} catch (TransferFailedException e) {