From 49ec2c00385e62eefb7542460e40ced9541d1d34 Mon Sep 17 00:00:00 2001 From: Lucio Anderlini Date: Fri, 21 Mar 2025 18:36:15 +0000 Subject: [PATCH 1/3] fix: groups and permissions should not be changed when retrieving either --- snakemake_storage_plugin_fs/__init__.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/snakemake_storage_plugin_fs/__init__.py b/snakemake_storage_plugin_fs/__init__.py index de10697..c1392eb 100644 --- a/snakemake_storage_plugin_fs/__init__.py +++ b/snakemake_storage_plugin_fs/__init__.py @@ -212,7 +212,8 @@ def retrieve_object(self): ) else: cmd = sysrsync.get_rsync_command( - str(self.query_path), str(self.local_path()), options=["-av"] + str(self.query_path), str(self.local_path()), + options=["-av", "--no-o", "--no-g", "--no-p"], ) self._run_cmd(cmd) From 19a5cdfb2ca2fc4ada37d0ec2e1db6ee8ee8612f Mon Sep 17 00:00:00 2001 From: "Filipe G. Vieira" <1151762+fgvieira@users.noreply.github.com> Date: Mon, 13 Oct 2025 14:05:00 +0200 Subject: [PATCH 2/3] Format --- snakemake_storage_plugin_fs/__init__.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/snakemake_storage_plugin_fs/__init__.py b/snakemake_storage_plugin_fs/__init__.py index c1392eb..21c9c79 100644 --- a/snakemake_storage_plugin_fs/__init__.py +++ b/snakemake_storage_plugin_fs/__init__.py @@ -212,7 +212,8 @@ def retrieve_object(self): ) else: cmd = sysrsync.get_rsync_command( - str(self.query_path), str(self.local_path()), + str(self.query_path), + str(self.local_path()), options=["-av", "--no-o", "--no-g", "--no-p"], ) self._run_cmd(cmd) From aa3e0e5d8026153325c94d8e1dbe54b92b8fdf23 Mon Sep 17 00:00:00 2001 From: "Filipe G. Vieira" <1151762+fgvieira@users.noreply.github.com> Date: Mon, 13 Oct 2025 14:09:52 +0200 Subject: [PATCH 3/3] Format --- snakemake_storage_plugin_fs/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/snakemake_storage_plugin_fs/__init__.py b/snakemake_storage_plugin_fs/__init__.py index 21c9c79..c7c15f3 100644 --- a/snakemake_storage_plugin_fs/__init__.py +++ b/snakemake_storage_plugin_fs/__init__.py @@ -213,7 +213,7 @@ def retrieve_object(self): else: cmd = sysrsync.get_rsync_command( str(self.query_path), - str(self.local_path()), + str(self.local_path()), options=["-av", "--no-o", "--no-g", "--no-p"], ) self._run_cmd(cmd)