Skip to content

Commit

Permalink
change sudo from true to false
Browse files Browse the repository at this point in the history
  • Loading branch information
panfengxue committed Nov 22, 2024
1 parent 7cf95d1 commit aaa6c3b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lisa/tools/remote_copy.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ def _get_destination_node(self, is_copy_to_local: bool = True) -> "Node":
return self.node

def _is_file(self, node: "Node", path: PurePath) -> bool:
return node.tools[Ls].is_file(path, sudo=True)
return node.tools[Ls].is_file(path, sudo=False)

def _prepare_tmp_copy(
self,
Expand Down

0 comments on commit aaa6c3b

Please sign in to comment.