diff --git a/debian/patches/disable-setting-ACL-attributes-see-https-code.evin.team-e.patch b/debian/patches/disable-setting-ACL-attributes-see-https-code.evin.team-e.patch new file mode 100644 index 0000000..d7b357c --- /dev/null +++ b/debian/patches/disable-setting-ACL-attributes-see-https-code.evin.team-e.patch @@ -0,0 +1,36 @@ +From: Alexis Cruz +Date: Tue, 4 Jul 2023 11:27:19 +0200 +Subject: disable setting ACL attributes, + see https://code.evin.team/evin/ansible-managed-servers/issues/5 + +--- + gio/gfile.c | 16 ++++++++-------- + 1 file changed, 8 insertions(+), 8 deletions(-) + +diff --git a/gio/gfile.c b/gio/gfile.c +index 1810e36..42ea204 100644 +--- a/gio/gfile.c ++++ b/gio/gfile.c +@@ -3426,14 +3426,14 @@ file_copy_fallback (GFile *source, + + /* Ignore errors here. Failure to copy metadata is not a hard error */ + /* TODO: set these attributes /before/ we do the rename() on Unix */ +- if (ret && do_set_attributes) +- { +- g_file_set_attributes_from_info (destination, +- info, +- G_FILE_QUERY_INFO_NOFOLLOW_SYMLINKS, +- cancellable, +- NULL); +- } ++ //if (ret && do_set_attributes) ++ // { ++ // g_file_set_attributes_from_info (destination, ++ // info, ++ // G_FILE_QUERY_INFO_NOFOLLOW_SYMLINKS, ++ // cancellable, ++ // NULL); ++ // } + + g_clear_object (&info); + diff --git a/debian/patches/series b/debian/patches/series index 3bd5e17..1479c06 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -38,3 +38,4 @@ gvariant-security-1-18.patch gvariant-security-2-1.patch gvariant-security-2-2.patch gvariant-security-3-1.patch +disable-setting-ACL-attributes-see-https-code.evin.team-e.patch