commit ce4daddca0ef0b455ed6a09fc9e4478f41d72914
parent 0d06ab5bb990775f95dfb4678655d2cf9ab2b26f
Author: Florian Dold <florian@dold.me>
Date: Thu, 29 Jul 2021 20:34:56 +0200
secmod client dir needs group write permissions
Diffstat:
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
@@ -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
@@ -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",