airavata-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From shame...@apache.org
Subject airavata git commit: Change archive file permissions to 755
Date Mon, 14 Mar 2016 20:21:33 GMT
Repository: airavata
Updated Branches:
  refs/heads/develop 887ea094f -> a9a331a85


Change archive file permissions to 755


Project: http://git-wip-us.apache.org/repos/asf/airavata/repo
Commit: http://git-wip-us.apache.org/repos/asf/airavata/commit/a9a331a8
Tree: http://git-wip-us.apache.org/repos/asf/airavata/tree/a9a331a8
Diff: http://git-wip-us.apache.org/repos/asf/airavata/diff/a9a331a8

Branch: refs/heads/develop
Commit: a9a331a85093118ea1a112883bf6bfa1ab649ade
Parents: 887ea09
Author: Shameera Rathnayaka <shameerainfo@gmail.com>
Authored: Mon Mar 14 16:21:26 2016 -0400
Committer: Shameera Rathnayaka <shameerainfo@gmail.com>
Committed: Mon Mar 14 16:21:26 2016 -0400

----------------------------------------------------------------------
 .../main/java/org/apache/airavata/gfac/impl/task/ArchiveTask.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/airavata/blob/a9a331a8/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/impl/task/ArchiveTask.java
----------------------------------------------------------------------
diff --git a/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/impl/task/ArchiveTask.java
b/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/impl/task/ArchiveTask.java
index 61cea82..072547b 100644
--- a/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/impl/task/ArchiveTask.java
+++ b/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/impl/task/ArchiveTask.java
@@ -141,7 +141,7 @@ public class ArchiveTask implements Task {
             String storageArchiveDir = "ARCHIVE";
             commandInfo = new RawCommandInfo("cd " + destParent + " && mkdir " +
storageArchiveDir +
                     " && tar -xvf " + archiveTar + " -C " + storageArchiveDir + "
&& rm " + archiveTar +
-                    " && chmod 744 -R " + storageArchiveDir + "/*");
+                    " && chmod 755 -R " + storageArchiveDir + "/*");
             executeCommand(sshSession, commandInfo, new StandardOutReader());
         } catch (GFacException | AiravataException | URISyntaxException | SSHApiException
e) {
             String msg = "Error! Archive task failed";


Mime
View raw message