LRN: Fix automake deps to allow -j* builds again
[oweals/gnunet.git] / src / util / disk.c
index d5e6f2f6086694c736f045f8f29703d80056d117..b53b556e178535beeecbfdea7928ea885314a5ad 100644 (file)
@@ -1053,6 +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 | S_IXUSR);
   if (UNLINK (fileName) == 0)
     return GNUNET_OK;
   if ((errno != EISDIR) &&