[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Confusion with directories/files?
From: |
Mark . Burgess |
Subject: |
Re: Confusion with directories/files? |
Date: |
Thu, 2 Sep 2004 19:23:33 +0200 (MEST) |
It is possible that the order of your actionseqence means that the directory
.ssh
is not created until after your try to touch a file within it.
Or perhaps there was some other reason for failure to create a part of the
path. The error messages in file operations are usually unspecific.
M
On 2 Sep, Josef Wolf wrote:
> Hello!
>
> With the following snippet:
>
> directories:
> /root/.ssh m=700 o=root g=root
> home/.ssh m=700
>
>
> files:
> /root/.ssh/authorized_keys m=600 act=touch o=root g=root
> home/.ssh/authorized_keys m=600 act=touch
>
> I keep getting following error:
>
>
> cfengine:raven: Directory /m/home/jw/.ssh/authorized_keys cannot be accessed
> in files
>
>
> This looks very strange to me because:
>
> $ ls -la /m/home/jw/.ssh
> total 5
> drwx------ 2 jw jw 80 Aug 18 10:49 .
> drwx------ 18 jw jw 1256 Sep 2 09:57 ..
> -rw-r--r-- 1 jw jw 219 Aug 18 10:49 known_hosts
> $
>
>
> Any idea what the error message wants to say to me? Why is cfengine
> assuming that authorized_keys is a directory?
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Work: +47 22453272 Email: Mark.Burgess@iu.hio.no
Fax : +47 22453205 WWW : http://www.iu.hio.no/~mark
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~