[network-manager-libreswan: 20/20] properties: fix mode of file for export to be non-executable
- From: Thomas Haller <thaller src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [network-manager-libreswan: 20/20] properties: fix mode of file for export to be non-executable
- Date: Fri, 24 Jun 2016 10:16:14 +0000 (UTC)
commit 91cba65e59bc158b98c4f7348e1b1c02d5761d53
Author: Thomas Haller <thaller redhat com>
Date: Fri Jun 24 11:54:49 2016 +0200
properties: fix mode of file for export to be non-executable
Fixes: d95ed136fffe4f813350c3f71f3d5503c0a6f696
properties/nm-libreswan-editor-plugin.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/properties/nm-libreswan-editor-plugin.c b/properties/nm-libreswan-editor-plugin.c
index 76f305b..8d3b3ff 100644
--- a/properties/nm-libreswan-editor-plugin.c
+++ b/properties/nm-libreswan-editor-plugin.c
@@ -142,7 +142,7 @@ export_to_file (NMVpnEditorPlugin *self,
int fd, errsv;
gs_free_error GError *local = NULL;
- fd = g_open (path, O_WRONLY | O_CREAT, 0777);
+ fd = g_open (path, O_WRONLY | O_CREAT, 0666);
if (fd == -1) {
errsv = errno;
g_set_error (error, NMV_EDITOR_PLUGIN_ERROR, NMV_EDITOR_PLUGIN_ERROR_FAILED,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]