Re: [PATCH] [master] Fix logging of isys mount/umount into program.log.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list

[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux