diff options
author | Florian Dold <florian@dold.me> | 2021-07-29 20:34:56 +0200 |
---|---|---|
committer | Florian Dold <florian@dold.me> | 2021-07-29 20:34:56 +0200 |
commit | ce4daddca0ef0b455ed6a09fc9e4478f41d72914 (patch) | |
tree | a4459dd5a1adb3b3214567a789927557dbda0cb2 | |
parent | 0d06ab5bb990775f95dfb4678655d2cf9ab2b26f (diff) | |
download | exchange-ce4daddca0ef0b455ed6a09fc9e4478f41d72914.tar.gz exchange-ce4daddca0ef0b455ed6a09fc9e4478f41d72914.zip |
secmod client dir needs group write permissions
-rw-r--r-- | src/util/taler-exchange-secmod-eddsa.c | 3 | ||||
-rw-r--r-- | 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 48dcdf718..5ca50f062 100644 --- a/src/util/taler-exchange-secmod-eddsa.c +++ b/src/util/taler-exchange-secmod-eddsa.c | |||
@@ -1549,7 +1549,8 @@ run (void *cls, | |||
1549 | } | 1549 | } |
1550 | /* Set sticky group bit, so that clients will be writeable by the current service. */ | 1550 | /* Set sticky group bit, so that clients will be writeable by the current service. */ |
1551 | if (0 != chmod (client_dir, | 1551 | if (0 != chmod (client_dir, |
1552 | S_IRUSR | S_IWUSR | S_IXUSR | S_IRGRP | S_IXGRP | S_ISGID)) | 1552 | S_IRUSR | S_IWUSR | S_IXUSR | S_IRGRP | S_IWGRP | S_IXGRP |
1553 | | S_ISGID)) | ||
1553 | { | 1554 | { |
1554 | GNUNET_log (GNUNET_ERROR_TYPE_ERROR, | 1555 | GNUNET_log (GNUNET_ERROR_TYPE_ERROR, |
1555 | "Can't set permissions for client directory (%s)\n", | 1556 | "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 1307b8f45..edb3aac21 100644 --- a/src/util/taler-exchange-secmod-rsa.c +++ b/src/util/taler-exchange-secmod-rsa.c | |||
@@ -1923,7 +1923,8 @@ run (void *cls, | |||
1923 | } | 1923 | } |
1924 | /* Set sticky group bit, so that clients will be writeable by the current service. */ | 1924 | /* Set sticky group bit, so that clients will be writeable by the current service. */ |
1925 | if (0 != chmod (client_dir, | 1925 | if (0 != chmod (client_dir, |
1926 | S_IRUSR | S_IWUSR | S_IXUSR | S_IRGRP | S_IXGRP | S_ISGID)) | 1926 | S_IRUSR | S_IWUSR | S_IXUSR | S_IRGRP | S_IWGRP | S_IXGRP |
1927 | | S_ISGID)) | ||
1927 | { | 1928 | { |
1928 | GNUNET_log (GNUNET_ERROR_TYPE_ERROR, | 1929 | GNUNET_log (GNUNET_ERROR_TYPE_ERROR, |
1929 | "Can't set permissions for client directory (%s)\n", | 1930 | "Can't set permissions for client directory (%s)\n", |