Graham Leggett commented on Bug MRPM-113

Turns out the correct configuration looks like this:

<mapping>
              <directory>/usr/share/${tomcat.base}-${tomcat.instance}/conf</directory>
              <filemode>750</filemode>
              <username>root</username>
              <groupname>${tomcat.group}</groupname>
              <sources>
                <softlinkSource>
                  <location>/etc/${tomcat.base}-${tomcat.instance}</location>
                </softlinkSource>
              </sources>
            </mapping>
            <mapping>
              <directory>/usr/share/${tomcat.base}-${tomcat.instance}/lib</directory>
              <filemode>750</filemode>
              <username>root</username>
              <groupname>${tomcat.group}</groupname>
              <sources>
                <softlinkSource>
                  <location>/usr/share/java/${tomcat.base}</location>
                </softlinkSource>
              </sources>
            </mapping>

(Note the lack of "destination" parameter).

It is not clear at this point why symlinks that point at files should behave differently to symlinks pointing at directories. It seems that we should error out when destination is used with a directory, but we don't.

In addition, the documentation only shows a single example of softlinkSource in action, when ideally there should be two examples, one for directories, and another for files.

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