gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-exchange] branch master updated: secmod client dir needs group wr


From: gnunet
Subject: [taler-exchange] branch master updated: secmod client dir needs group write permissions
Date: Thu, 29 Jul 2021 20:35:01 +0200

This is an automated email from the git hooks/post-receive script.

dold pushed a commit to branch master
in repository exchange.

The following commit(s) were added to refs/heads/master by this push:
     new ce4daddc secmod client dir needs group write permissions
ce4daddc is described below

commit ce4daddca0ef0b455ed6a09fc9e4478f41d72914
Author: Florian Dold <florian@dold.me>
AuthorDate: Thu Jul 29 20:34:56 2021 +0200

    secmod client dir needs group write permissions
---
 src/util/taler-exchange-secmod-eddsa.c | 3 ++-
 src/util/taler-exchange-secmod-rsa.c   | 3 ++-
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/src/util/taler-exchange-secmod-eddsa.c 
b/src/util/taler-exchange-secmod-eddsa.c
index 48dcdf71..5ca50f06 100644
--- a/src/util/taler-exchange-secmod-eddsa.c
+++ b/src/util/taler-exchange-secmod-eddsa.c
@@ -1549,7 +1549,8 @@ run (void *cls,
     }
     /* Set sticky group bit, so that clients will be writeable by the current 
service. */
     if (0 != chmod (client_dir,
-                    S_IRUSR | S_IWUSR | S_IXUSR | S_IRGRP | S_IXGRP | S_ISGID))
+                    S_IRUSR | S_IWUSR | S_IXUSR | S_IRGRP | S_IWGRP | S_IXGRP
+                    | S_ISGID))
     {
       GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
                   "Can't set permissions for client directory (%s)\n",
diff --git a/src/util/taler-exchange-secmod-rsa.c 
b/src/util/taler-exchange-secmod-rsa.c
index 1307b8f4..edb3aac2 100644
--- a/src/util/taler-exchange-secmod-rsa.c
+++ b/src/util/taler-exchange-secmod-rsa.c
@@ -1923,7 +1923,8 @@ run (void *cls,
     }
     /* Set sticky group bit, so that clients will be writeable by the current 
service. */
     if (0 != chmod (client_dir,
-                    S_IRUSR | S_IWUSR | S_IXUSR | S_IRGRP | S_IXGRP | S_ISGID))
+                    S_IRUSR | S_IWUSR | S_IXUSR | S_IRGRP | S_IWGRP | S_IXGRP
+                    | S_ISGID))
     {
       GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
                   "Can't set permissions for client directory (%s)\n",

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]