git.annexia.org
/
libguestfs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
daemon: Allow utimens to work for directories (RHBZ#761451).
[libguestfs.git]
/
daemon
/
utimens.c
diff --git
a/daemon/utimens.c
b/daemon/utimens.c
index
ae006c6
..
a9857db
100644
(file)
--- a/
daemon/utimens.c
+++ b/
daemon/utimens.c
@@
-37,7
+37,7
@@
do_utimens (const char *path,
int r;
CHROOT_IN;
- fd = open (path, O_
WR
ONLY | O_NOCTTY);
+ fd = open (path, O_
RD
ONLY | O_NOCTTY);
CHROOT_OUT;
if (fd == -1) {