LRN: Fix automake deps to allow -j* builds again
[oweals/gnunet.git] / src / util / disk.c
index 22ee8d196e109604dd39a885f2a9bdaef94dcfcd..b53b556e178535beeecbfdea7928ea885314a5ad 100644 (file)
@@ -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) &&