summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/util/disk.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/disk.c b/src/util/disk.c
index 22ee8d196..b53b556e1 100644
--- a/src/util/disk.c
+++ b/src/util/disk.c
@@ -1053,7 +1053,7 @@ GNUNET_DISK_directory_remove (const char *fileName)
if (0 != LSTAT (fileName, &istat))
return GNUNET_NO; /* file may not exist... */
- CHMOD (fileName, S_IWUSR | S_IRUSR);
+ CHMOD (fileName, S_IWUSR | S_IRUSR | S_IXUSR);
if (UNLINK (fileName) == 0)
return GNUNET_OK;
if ((errno != EISDIR) &&