Suppressing dangling link issues for chmod in archiving task
@@ -107,7 +107,7 @@ public class ArchiveTask extends DataStagingTask {
String destParent = destFilePath.substring(0, destFilePath.lastIndexOf("/"));
final String storageArchiveDir = "ARCHIVE";
String unArchiveTarCommand = "mkdir " + storageArchiveDir + " && tar -xvf " + archiveFileName + " -C "
- + storageArchiveDir + " && rm " + archiveFileName + " && chmod 755 -R " + storageArchiveDir + "/*";
+ + storageArchiveDir + " && rm " + archiveFileName + " && chmod 755 -f -R " + storageArchiveDir + "/*";
logger.info("Running Un archiving command on storage resource " + unArchiveTarCommand);
try {
