[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Patch for permissions /var/lib/cfengine2
From: |
Mark . Burgess |
Subject: |
Re: Patch for permissions /var/lib/cfengine2 |
Date: |
Mon, 13 Oct 2003 00:15:17 +0200 (MEST) |
Why set directory permissions instead of setting the file permission?
I'm not sure this patch is generally desirable...
M
On 12 Oct, Daniel Parthey wrote:
> I am using Debian Gnu/Linux and the following package:
> cfengine2 2.0.9+2.1.0b3-1
>
> In order to prevent any normal user to look into the cfengine files,
> I have set the directory permissions of /var/lib/cfengine2 to 700.
>
> Unfortunately, each time cfengine was run, the permissions of VLOCKDIR
> which means /var/lib/cfengine2 were changed to 755.
> After this, the cfengine workdir has been accessible to everybody again.
>
> I've attached a patch which should fix this problem.
>
> Greets,
> Daniel
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Work: +47 22453272 Email: Mark.Burgess@iu.hio.no
Fax : +47 22453205 WWW : http://www.iu.hio.no/~mark
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~