diff options
author | Richard Hughes <richard@hughsie.com> | 2019-08-05 09:39:29 +0100 |
---|---|---|
committer | Richard Hughes <richard@hughsie.com> | 2019-08-05 10:33:16 +0100 |
commit | cce510312389efbe3819de0fa53f9004e6e04399 (patch) | |
tree | eeb2c14a96145d13ebf8d4638eab6ebd300240bc /libappstream-glib/as-store.c | |
parent | 69824ae559e2b615f432d645bc5d941581007026 (diff) | |
download | appstream-glib-wip/hughsie/permissions.tar.gz |
Do not preserve restrictive permissions when installing AppStream fileswip/hughsie/permissions
Fixes https://github.com/hughsie/appstream-glib/issues/312
Diffstat (limited to 'libappstream-glib/as-store.c')
-rw-r--r-- | libappstream-glib/as-store.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libappstream-glib/as-store.c b/libappstream-glib/as-store.c index e435340..3e6502a 100644 --- a/libappstream-glib/as-store.c +++ b/libappstream-glib/as-store.c @@ -2561,7 +2561,7 @@ as_store_to_file (AsStore *store, if (!g_file_replace_contents (file, xml->str, xml->len, NULL, FALSE, - G_FILE_CREATE_NONE, + G_FILE_CREATE_REPLACE_DESTINATION, NULL, cancellable, &error_local)) { |