RPM Maven plugin, Recursive chown in mapping directory configuration

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

RPM Maven plugin, Recursive chown in mapping directory configuration

Pedro Mendes
Hi list,

I'm needing some help with the plugin. I could one map a directory changing the username and groupname for all files/directories but keeping their original permissions?

Here's a snippet of my configuration:
...
<mapping>
<directory>${install.base.dir}/dir/subdir</directory>
<username>tomcat</username>
<groupname>tomcat</groupname>
<sources>
<source>
<location>${project.build.directory}/dir/subdir</location>
</source>
</sources>
</mapping>
...

The problem is that the permissions for all directories under subdir are being changed.

Thanks in advance.

Mendes.