[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: [Linux-cluster] [PATCH] Fix ccsd /etc/cluster/cluster.conf file permissions
- From: Fabio Massimo Di Nitto <fabbione fabbione net>
- To: linux clustering <linux-cluster redhat com>
- Cc: Martin Pitt <martin pitt ubuntu com>
- Subject: Re: [Linux-cluster] [PATCH] Fix ccsd /etc/cluster/cluster.conf file permissions
- Date: Fri, 10 Jun 2005 07:08:22 +0200
Lon Hohberger wrote:
> It is creating it with overly-generous permissions, but wouldn't it be
> easier to either do something like this when we write the file:
>
> mode_t om;
>
> om = umask(026);
> fp = fopen(...);
> umask(om);
>
> ...or simply call umask(026) when ccsd starts up...?
I think it will achive the same result, tho i leave up to you guys what implementation
you prefer. As I wrote in the first mail I don't claim mine to be the perfect one :)
Fabio
--
no signature file found.
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]