在我的 pom.xml
<artifactId>rpm-maven-plugin</artifactId>
<version>2.0.1</version>
<goal>rpm</goal>
...
<mapping>
<directory>/etc/conf</directory>
<username>ME</username>
<groupname>ME</groupname>
<sources>
<source>
<location>../install.properties</location>
</source>
</sources>
</mapping>
...
使用上述/etc/conf
文件夹时,请获得ME:ME
许可。
<mapping>
<directory>/etc/conf</directory>
<username>ME</username>
<groupname>ME</groupname>
<sources>
<source>
<location>../install.properties</location>
</source>
</sources>
</mapping>
<mapping>
<directory>/etc/conf</directory>
<username>ME</username>
<groupname>ME</groupname>
<sources>
<source>
<location>../install2.properties</location>
</source>
</sources>
</mapping>
但是当我添加另一个映射时,/etc/conf
文件夹会被创建root:root
我错过了什么?