aboutsummaryrefslogtreecommitdiff
path: root/src/util/disk.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/util/disk.c')
-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)
1053 1053
1054 if (0 != LSTAT (fileName, &istat)) 1054 if (0 != LSTAT (fileName, &istat))
1055 return GNUNET_NO; /* file may not exist... */ 1055 return GNUNET_NO; /* file may not exist... */
1056 CHMOD (fileName, S_IWUSR | S_IRUSR); 1056 CHMOD (fileName, S_IWUSR | S_IRUSR | S_IXUSR);
1057 if (UNLINK (fileName) == 0) 1057 if (UNLINK (fileName) == 0)
1058 return GNUNET_OK; 1058 return GNUNET_OK;
1059 if ((errno != EISDIR) && 1059 if ((errno != EISDIR) &&