--- isys/imount.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/isys/imount.c b/isys/imount.c index 30b6302..a62e223 100644 --- a/isys/imount.c +++ b/isys/imount.c @@ -119,7 +119,7 @@ int mountCommandWrapper(int mode, char *dev, char *where, char *fs, }
programLogFD = open("/tmp/program.log", - O_APPEND|O_CREAT, S_IRUSR|S_IWUSR|S_IRGRP|S_IROTH); + O_APPEND|O_CREAT|O_WRONLY, S_IRUSR|S_IWUSR|S_IRGRP|S_IROTH);
if (pipe(pipefd)) return IMOUNT_ERR_ERRNO;
On Fri, 2009-10-30 at 16:24 +0100, Radek Vykydal wrote:
isys/imount.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
Nice. Ack.
diff --git a/isys/imount.c b/isys/imount.c index 30b6302..a62e223 100644 --- a/isys/imount.c +++ b/isys/imount.c @@ -119,7 +119,7 @@ int mountCommandWrapper(int mode, char *dev, char *where, char *fs, }
programLogFD = open("/tmp/program.log",
O_APPEND|O_CREAT, S_IRUSR|S_IWUSR|S_IRGRP|S_IROTH);
O_APPEND|O_CREAT|O_WRONLY, S_IRUSR|S_IWUSR|S_IRGRP|S_IROTH);if (pipe(pipefd)) return IMOUNT_ERR_ERRNO;
anaconda-devel@lists.fedoraproject.org