change jar and dir permissions after things are built and copied