Issue Type: Bug Bug
Affects Versions: 2.1-alpha-2, 2.0.1
Assignee: Unassigned
Attachments: pom.xml
Components: rpm
Created: 21/Nov/13 11:24 AM
Description:
 
<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>

The above works fine.. the /etc/conf folder gets created with correct premission i.e ME:ME.
But if i try below code the /etc/conf folder gets created with wrong premission i.e root:root

 
 <mapping>
          <directory>/etc/conf</directory>
          <username>ME</username>
          <groupname>ME</groupname>
          <configuration>noreplace</configuration>
          <sources>
            <source>
              <location>../install.properties</location>
            </source>
          </sources>
</mapping>
 <mapping>
          <directory>/etc/conf</directory>
          <username>ME</username>
          <groupname>ME</groupname>

          <sources>
            <source>
              <location>../install.properties</location>
            </source>
          </sources>
</mapping>

can anybody confirm if this is a bug and suggest a work around

I have attached a pom.xml file for reproducing the it
one need to change userName and groupName other then ME and have ReadMe and ReadMe1 available.

Environment: Maven version: 2.0.8
Java version: 1.6.0_29
OS name: "linux" version: "2.6.32-358.14.1.el6.x86_64" arch: "amd64" Family: "unix"
Project: Mojo's RPM Maven Plugin
Priority: Blocker Blocker
Reporter: bhuvan gupta
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
--------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email

Reply via email to