[ 
https://issues.apache.org/jira/browse/GOBBLIN-1601?focusedWorklogId=716992&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-716992
 ]

ASF GitHub Bot logged work on GOBBLIN-1601:
-------------------------------------------

                Author: ASF GitHub Bot
            Created on: 28/Jan/22 11:22
            Start Date: 28/Jan/22 11:22
    Worklog Time Spent: 10m 
      Work Description: arjun4084346 commented on a change in pull request 
#3457:
URL: https://github.com/apache/gobblin/pull/3457#discussion_r794418540



##########
File path: 
gobblin-data-management/src/main/java/org/apache/gobblin/data/management/copy/CopyableFile.java
##########
@@ -354,6 +359,36 @@ public static OwnerAndPermission 
resolveReplicatedOwnerAndPermission(FileSystem
     return ownerAndPermissions;
   }
 
+  public static Map<String, OwnerAndPermission> 
resolveReplicatedAncestorOwnerAndPermissionsRecursively(FileSystem sourceFs, 
Path fromPath,
+      Path toPath, CopyConfiguration copyConfiguration) throws IOException {
+
+    Map<String, OwnerAndPermission> ownerAndPermissions = Maps.newHashMap();
+
+    // We only pass directories to this method anyways. Those directories 
themselves need permissions set.

Review comment:
       fromPath is a dir, because it is a .getParent() of some path. toPath is 
a calculated destination path, which may not exist yet, so cannot be tested to 
be a dir




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Issue Time Tracking
-------------------

    Worklog Id:     (was: 716992)
    Time Spent: 0.5h  (was: 20m)

> provide a way to set permission on destination datasets after publishing
> ------------------------------------------------------------------------
>
>                 Key: GOBBLIN-1601
>                 URL: https://issues.apache.org/jira/browse/GOBBLIN-1601
>             Project: Apache Gobblin
>          Issue Type: Improvement
>            Reporter: Arjun Singh Bora
>            Priority: Major
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>




--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to