projects
/
oweals
/
gnunet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d9a543e
)
chmod
author
Christian Grothoff
<christian@grothoff.org>
Tue, 2 Aug 2011 15:51:49 +0000
(15:51 +0000)
committer
Christian Grothoff
<christian@grothoff.org>
Tue, 2 Aug 2011 15:51:49 +0000
(15:51 +0000)
src/util/disk.c
patch
|
blob
|
history
diff --git
a/src/util/disk.c
b/src/util/disk.c
index d5e6f2f6086694c736f045f8f29703d80056d117..22ee8d196e109604dd39a885f2a9bdaef94dcfcd 100644
(file)
--- a/
src/util/disk.c
+++ b/
src/util/disk.c
@@
-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);
if (UNLINK (fileName) == 0)
return GNUNET_OK;
if ((errno != EISDIR) &&