diff --git a/artifact/plugin.jelly b/artifact/plugin.jelly
index e3b155c9..3980f15a 100644
--- a/artifact/plugin.jelly
+++ b/artifact/plugin.jelly
@@ -95,7 +95,7 @@
type="poms"
artifact="${projectFilename}"
targetFilename="${pomFilename}"
- siteCommand="cd @deployDirectory@; chmod g+w ${pomFilename}; chgrp ${maven.remote.group} ${pomFilename}"
+ siteCommand="cd @deployDirectory@; chmod -f g+w ${pomFilename}; chgrp -f ${maven.remote.group} ${pomFilename}"
/>
@@ -158,7 +158,7 @@
type="poms"
artifact="${projectFilename}"
targetFilename="${pomFilename}"
- siteCommand="cd @deployDirectory@; chmod g+w ${pomFilename}; chgrp ${maven.remote.group} ${pomFilename}; rm -f ${pomSnapshotName}; ln -s ${pomFilename} ${pomSnapshotName}; echo ${snapshotVersion} > ${pom.artifactId}-snapshot-version"
+ siteCommand="cd @deployDirectory@; chmod -f g+w ${pomFilename}; chgrp -f ${maven.remote.group} ${pomFilename}; rm -f ${pomSnapshotName}; ln -s ${pomFilename} ${pomSnapshotName}; echo ${snapshotVersion} > ${pom.artifactId}-snapshot-version"
/>
diff --git a/artifact/xdocs/changes.xml b/artifact/xdocs/changes.xml
index 757bcf4e..3d62b71b 100644
--- a/artifact/xdocs/changes.xml
+++ b/artifact/xdocs/changes.xml
@@ -26,6 +26,7 @@
+ Add -f flag to chmod and chgrp as they may fail even in a successful state
Legacy method not executing from the correct directory
Replace bulk of code with Wagon