Amanda-Users

Re: amrecover: Index directory .../index does not exist - problem

2003-05-30 08:39:27
Subject: Re: amrecover: Index directory .../index does not exist - problem
From: Joshua Baker-LePain <jlb17 AT duke DOT edu>
To: Markus Diesing <markus AT diesing DOT de>
Date: Fri, 30 May 2003 08:36:37 -0400 (EDT)
On Fri, 30 May 2003 at 2:32pm, Markus Diesing wrote

> It reads
> 
> -rwxrwxrwx    1 amanda   disk        49951 May 23 04:34 amdump.7
> drwxrwxrwx    4 amanda   disk          112 May  4 21:28 curinfo
> drwxrwxrwx    4 amanda   disk          112 May  4 21:28 index
> -rwxrwxrwx    1 amanda   disk         2668 May 17 01:58 log.20030517.0
> 
> for example.
> 
> That is *after* I chmod 777 the whole tree under /data/amanda. So all 
> your posts were quite right, there was a problem reading and writing 
> the index. My way was probably not the safest, but I'll start work my 
> way back now to a safer setup. Unfortunately, I a) don't know what 
> exactly changed and b) don't remember the original rights and 
> owner_group settings. How should they be?

Mine look like this:

[jlb@$HOST jlb]$ ls -la /usr/local/adm/amanda/DailySet1/
total 12468
drwxr-xr-x    5 amanda   disk         8192 May 30 02:28 .
drwxr-xr-x    7 amanda   disk         4096 Mar  1  2002 ..
-rw-------    1 amanda   disk       157208 May 30 02:28 amdump.1
.
.
drwxr-xr-x   38 amanda   disk         4096 May 10 01:16 curinfo
.
.
drwxr-xr-x   39 amanda   disk         4096 May 10 01:01 index
-rw-------    1 amanda   disk        13622 Mar 14 03:19 log.20030314.0

Under the index directory, all the subdirectories are 755 (some with the 
setgid bit set), and the actual index files are 600, everything owned by 
amanda:disk.

-- 
Joshua Baker-LePain
Department of Biomedical Engineering
Duke University