explicitly specify file and folder permission
<!-- for engine -->
<fileSet>
<directory>target/</directory>
+ <fileMode>0644</fileMode>
<includes>
<include>datax-core-${project.version}.jar</include>
</includes>
<dependencySet>
<useProjectArtifact>false</useProjectArtifact>
<outputDirectory>/lib</outputDirectory>
+ <fileMode>0644</fileMode>
<scope>runtime</scope>
</dependencySet>
</dependencySets>
