[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: files not setting owner for directories
From: |
Mark Burgess |
Subject: |
Re: files not setting owner for directories |
Date: |
Thu, 18 Aug 2005 18:14:43 +0200 |
Can someone try to find out about this? I have tried to fix this once
and have apparently misunderstood the problem. If I said I fixed it,
then I fixed something that I understood to be a problem.
M
On Wed, 2005-08-03 at 15:16 +0100, Jim Wight wrote:
> Back in March I reported as follows:
>
> directories:
> /tmp/binowned owner=bin
>
> files:
> /tmp/binowned2/ owner=bin action=create
>
> results in
>
> # ls -ld /tmp/binowned*
> drwxr-xr-x 2 bin root 48 Mar 18 12:16 /tmp/binowned
> drwxr-xr-x 2 root root 48 Mar 18 12:16 /tmp/binowned2
>
> That was with 2.1.13.
>
> and Mark replied saying that the bug had been found and fixed for
> 2.1.14. I haven't used 2.1.4, but I've just upgraded some machines to
> 2.1.15 and the bug is (still) present.
>
> Now I've found another problem in the same area:
>
> files:
> /tmp/file1 owner=bin action=touch
> /tmp/file2 owner=bin action=touch
>
> results (on the first run) in
>
> # ls -l /tmp/file[0-9]
> ---------- 1 bin root 0 Aug 3 15:00 /tmp/file1
> -rwxr-xr-x 1 root root 0 Aug 3 15:00 /tmp/file2
>
> The owner of file2 is, as expected, corrected on the second run. There
> is no mention of the default mode under 'touch', but the documentation
> says that it is 0644 for 'create'; however, it gets it wrong too. Of
> course it is easy enough to get the modes right by setting them
> explicitly.
>
> Jim
>
>
>
>
> _______________________________________________
> Bug-cfengine mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/bug-cfengine