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:
parent
af86f7ebb4
commit
c08146a0a4
@ -193,7 +193,7 @@
|
||||
</exec>
|
||||
<echo>Updating files modes on the remote host</echo>
|
||||
<exec dir="." executable="${maven.ssh.executable}" failonerror="${maven.site.failonerror}">
|
||||
<arg line="${maven.ssh.args} -l ${siteUsername} ${siteAddress} 'cd ${maven.homepage} && chmod ${maven.site.chmod.options} ${maven.site.chmod.mode} * .'"/>
|
||||
<arg line="${maven.ssh.args} -l ${siteUsername} ${siteAddress} 'cd ${maven.homepage} && chmod ${maven.site.chmod.options} ${maven.site.chmod.mode} * ./*'"/>
|
||||
</exec>
|
||||
<echo>Deleting remote archive</echo>
|
||||
<exec dir="." executable="${maven.ssh.executable}" failonerror="${maven.site.failonerror}">
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user