don't change permissions on the home dir but only on contained files/directories.

The home dir is not created/overwritten by the site deploy so its permissions should not be changed (the build failed if the users couldn't change permissions on this directory)

git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@333087 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
fgiust 2005-11-13 18:33:13 +00:00
parent af86f7ebb4
commit c08146a0a4

View File

@ -193,7 +193,7 @@
</exec> </exec>
<echo>Updating files modes on the remote host</echo> <echo>Updating files modes on the remote host</echo>
<exec dir="." executable="${maven.ssh.executable}" failonerror="${maven.site.failonerror}"> <exec dir="." executable="${maven.ssh.executable}" failonerror="${maven.site.failonerror}">
<arg line="${maven.ssh.args} -l ${siteUsername} ${siteAddress} 'cd ${maven.homepage} &amp;&amp; chmod ${maven.site.chmod.options} ${maven.site.chmod.mode} * .'"/> <arg line="${maven.ssh.args} -l ${siteUsername} ${siteAddress} 'cd ${maven.homepage} &amp;&amp; chmod ${maven.site.chmod.options} ${maven.site.chmod.mode} * ./*'"/>
</exec> </exec>
<echo>Deleting remote archive</echo> <echo>Deleting remote archive</echo>
<exec dir="." executable="${maven.ssh.executable}" failonerror="${maven.site.failonerror}"> <exec dir="." executable="${maven.ssh.executable}" failonerror="${maven.site.failonerror}">