[network-manager-libreswan/th/tmp: 68/68] 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/th/tmp: 68/68] properties: fix mode of file for export to be non-executable
- Date: Fri, 24 Jun 2016 09:55:26 +0000 (UTC)
commit 40bf06f7e96286c4de880ffbc02fcf0fa47c202c
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
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]