aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2011-08-02 16:32:06 +0000
committerChristian Grothoff <christian@grothoff.org>2011-08-02 16:32:06 +0000
commit3649ebabf3b1ff39990e98a3370c765035d6d695 (patch)
treec9995f94cb92d609f405cd5c8ceedb2cdb55b063
parent41a104921e5b7e5f7ad5c0b93fc13f98e8dffaa3 (diff)
downloadgnunet-3649ebabf3b1ff39990e98a3370c765035d6d695.tar.gz
gnunet-3649ebabf3b1ff39990e98a3370c765035d6d695.zip
fixfix
-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) &&