Commit 04c0f8f1 authored by Cristiano Urban's avatar Cristiano Urban
Browse files

Minor changes

parent 89c664d4
Loading
Loading
Loading
Loading
+7 −7
Original line number Diff line number Diff line
@@ -29,9 +29,9 @@ class VOSGroup(RedisRPCClient):
        if "responseType" not in addGroupResponse:
            sys.exit("FATAL: Malformed response, storage acknowledge expected.\n")
        elif addGroupResponse["responseType"] == "GRPR_STARTED":
            print("\nThe procedure to change 'group_read' persmissions has started.\nYou'll receive an email at the end of the operation.\n")
            print("\nThe procedure that adds the group to 'group_read' has started.\nYou'll receive an email at the end of the operation.\n")
        elif addGroupResponse["responseType"] == "GRPW_STARTED":
            print("\nThe procedure to change 'group_write' persmissions has started.\nYou'll receive an email at the end of the operation.\n")
            print("\nThe procedure that adds the group to 'group_write' has started.\nYou'll receive an email at the end of the operation.\n")
        elif addGroupResponse["responseType"] == "ERROR":
            errorCode = addGroupResponse["errorCode"]
            errorMsg = addGroupResponse["errorMsg"]
@@ -49,9 +49,9 @@ class VOSGroup(RedisRPCClient):
        if "responseType" not in delGroupResponse:
            sys.exit("FATAL: Malformed response, storage acknowledge expected.\n")
        elif delGroupResponse["responseType"] == "GRPR_STARTED":
            print("\nThe procedure to change 'group_read' persmissions has started.\nYou'll receive an email at the end of the operation.\n")
            print("\nThe procedure that removes the group from 'group_read' has started.\nYou'll receive an email at the end of the operation.\n")
        elif delGroupResponse["responseType"] == "GRPW_STARTED":
            print("\nThe procedure to change 'group_write' persmissions has started.\nYou'll receive an email at the end of the operation.\n")
            print("\nThe procedure that removes the group from 'group_write' has started.\nYou'll receive an email at the end of the operation.\n")
        elif delGroupResponse["responseType"] == "ERROR":
            errorCode = delGroupResponse["errorCode"]
            errorMsg = delGroupResponse["errorMsg"]
@@ -71,7 +71,7 @@ DESCRIPTION
       This tool allows to modify 'group_read' and 'group_write'
       parameters of a VOSpace node.

       Two parameters are required:
       Four parameters are required:
       
       GROUP_TYPE:
           specifies the group type. can be 'read' or 'write'
@@ -88,7 +88,7 @@ DESCRIPTION
           by the group name.
           In the second case, the syntax is:
           
               people.name\\.surname
               people.name\\\.surname

       VOSPACE_PATH:
           represents the node VOSpace path.
@@ -98,7 +98,7 @@ EXAMPLES
      in 'mydir' on the VOSpace for the 'jsmith' user:
      
      Add 'jane.lee' to 'group_read' for the VOSpace node /john.smith/test/foo:
      # vos_group read add people.jane\\.lee /john.smith/test/foo
      # vos_group read add people.jane\\\.lee /john.smith/test/foo
      
      Add 'my_group' to 'group_write' for the VOSpace node /john.smith/test/foo:
      # vos_group write add gms_mygroup /john.smith/test/foo