Amanda-Users

Re: Troubleshooting partition offline error

2003-04-17 13:27:56
Subject: Re: Troubleshooting partition offline error
From: Joshua Baker-LePain <jlb17 AT duke DOT edu>
To: KEVIN ZEMBOWER <KZEMBOWE AT jhuccp DOT org>
Date: Thu, 17 Apr 2003 11:40:26 -0400 (EDT)
On Thu, 17 Apr 2003 at 10:58am, KEVIN ZEMBOWER wrote

> Thank you all for your patience in trying to unravel my problems.
> 
> Here's the long listing of the /usr/lib/amanda directory, where runtar is 
> stored:
> www:~# ls -l /usr/lib/amanda     
> total 496
> -rwxr-xr-x    1 root     root        11044 Apr  2  2002 amandad
> -rw-r--r--    1 root     root          135 Apr  2  2002 amcat.awk
> -rwxr-xr-x    1 root     root         7156 Apr  2  2002 amcleanupdisk
> -rwxr-xr-x    1 root     root         8292 Apr  2  2002 amidxtaped
> -rwxr-xr-x    1 root     root        19112 Apr  2  2002 amindexd
> -rwxr-xr-x    1 root     root         5640 Apr  2  2002 amlogroll
> -rw-r--r--    1 root     root        15709 Apr  2  2002 amplot.awk
> -rw-r--r--    1 root     root         3283 Apr  2  2002 amplot.g
> -rw-r--r--    1 root     root         3293 Apr  2  2002 amplot.gp
> -rwxr-xr-x    1 root     root         7700 Apr  2  2002 amtrmidx
> -rwxr-xr-x    1 root     root         7144 Apr  2  2002 amtrmlog
> -rwxr-xr-x    1 root     root         7144 Apr  2  2002 calcsize
> -rwxr-xr-x    1 root     root        10032 Apr  2  2002 chg-chio
> -rwxr-xr-x    1 root     root         8236 Apr  2  2002 chg-chs
> -rwxr-xr-x    1 root     root         5763 Apr  2  2002 chg-manual
> -rwxr-xr-x    1 root     root         9089 Apr  2  2002 chg-multi
> -rwxr-xr-x    1 root     root         6415 Apr  2  2002 chg-rth
> -rwxr-xr-x    1 root     root        78376 Apr  2  2002 chg-scsi
> -rwxr-xr-x    1 root     root        37181 Apr  2  2002 chg-zd-mtx
> -rwxr-xr-x    1 root     root        26516 Apr  2  2002 driver
> -rwsr-xr--    1 root     backup      25288 Apr  2  2002 dumper
> -rwxr-xr-x    1 root     root         5324 Apr  2  2002 killpgrp
> -rwxr-xr-x    1 root     root         4585 Apr  2  2002 patch-system
> -rwsr-xr--    1 root     backup      25720 Apr  2  2002 planner
> -rwxr-xr-x    1 root     root         3680 Apr  2  2002 rundump
> -rwsr-xr--    1 root     backup       4576 Apr  2  2002 runtar
> -rwxr-xr-x    1 root     root        11916 Apr  2  2002 selfcheck
> -rwxr-xr-x    1 root     root        25420 Apr  2  2002 sendbackup
> -rwxr-xr-x    1 root     root        21436 Apr  2  2002 sendsize
> -rwxr-xr-x    1 root     root        28040 Apr  2  2002 taper
> -rwxr-xr-x    1 root     root         3160 Apr  2  2002 versionsuffix
> 
> As you can see, runtar is '-rwsr-xr--    1 root     backup       4576 Apr  2  
> 2002 runtar'. Is this what it should be? Can I make all files in the 
> directory /usr/lib/amanada owned by amanda:backup, which would make more 
> sense to me? I can't think of how this might have gotten changed, however.

Those permissions are just all messed up.  How was this installed?  On my 
system, everything in /usr/local/libexec is amanda:disk (my user and group 
at config time) except caclsize, dumper, killpgrp, planner, runtar, and 
rundump (which are all root:disk, 750, and setuid).

The easiest way to fix all this is to just reinstall from source.

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


<Prev in Thread] Current Thread [Next in Thread>