summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/dbus/test-tpl-log-store-xml.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/dbus/test-tpl-log-store-xml.c b/tests/dbus/test-tpl-log-store-xml.c
index 8db04ba..0cce44b 100644
--- a/tests/dbus/test-tpl-log-store-xml.c
+++ b/tests/dbus/test-tpl-log-store-xml.c
@@ -27,6 +27,11 @@ copy_dir (const gchar *from_dir, const gchar *to_dir)
command = g_strdup_printf ("cp -r %s %s", from_dir, to_dir);
g_assert (system (command) == 0);
g_free (command);
+
+ // In distcheck mode the files and directory are read-only, fix that
+ command = g_strdup_printf ("chmod -R +w %s", to_dir);
+ g_assert (system (command) == 0);
+ g_free (command);
}