Re: all estimates failed for gnutar
2004-10-13 14:04:12
Fernan Aguero <fernan AT iib.unsam.edu DOT ar> wrote:
> Is there any place where permissions on files, directories,
> etc are listed so I can check what a right installation
> should look like?
Greetings from a fellow FreeBSD/Amanda sysadmin :-) Maybe we can use my
system (which works fine) as some kind of reference.
> All of my files (executables) are owned by amanda:operator, with the exception
> of amqde, calcsize, amcheck, amrecover, dumper, killpgrp, planner, rundump and
> runtar which are owned by root:operator and setuid'ed; and amandad,
> patch-system, selfcheck, sendbackup, sendsize, versionsuffix, which are owned
> by operator:operator and are not setuid.
The files that you listed as being owned by root are also owned by root
here. But this business of some files being owned by amanda and some by
operator doesn't seem quite right to me. I think all files that are not
owned by root should be owned by the user who was specified as
AMANDA_USER when installing the port.
Now... let's notice that 'operator' is the default amanda-user used by
the port if AMANDA_USER is not defined.
Further, the directory listing below shows that files owned by operator
are dated Sep 28, whereas files owned by amanda are dated Sep 30.
This leads me to think that you have somehow made two installations on
top of each other, first one without specifying AMANDA_USER on Sep 28
and second one by specifying AMANDA_USER=amanda on Sep 30. Do you have
FORCE_PKG_REGISTER in /etc/make.conf?
Probably easiest way to get everything working correctly would be
pkg_deleting the Amanda ports and installing them again. However, if
the permissions of some files to be deleted are not what the ports
system expects, it may still leave them behind. So make sure you get
them before doing another install.
> pi# ls -l /usr/local/libexec/amanda/
> total 614
> -r-xr-xr-x 1 operator operator 13972 Sep 28 12:22 amandad
> -r--r--r-- 1 amanda operator 184 Sep 30 15:54 amcat.awk
> -r-xr-xr-x 1 amanda operator 7632 Sep 30 15:54 amcleanupdisk
> -r-xr-xr-x 1 amanda operator 13604 Sep 30 15:54 amidxtaped
> -r-xr-xr-x 1 amanda operator 23136 Sep 30 15:54 amindexd
> -r-xr-xr-x 1 amanda operator 6148 Sep 30 15:54 amlogroll
> -r--r--r-- 1 amanda operator 17439 Sep 30 15:54 amplot.awk
> -r--r--r-- 1 amanda operator 3283 Sep 30 15:54 amplot.g
> -r--r--r-- 1 amanda operator 3293 Sep 30 15:54 amplot.gp
> -r-sr-x--- 1 root operator 4904 Sep 28 12:22 amqde
> -r-xr-xr-x 1 amanda operator 8108 Sep 30 15:54 amtrmidx
> -r-xr-xr-x 1 amanda operator 7872 Sep 30 15:54 amtrmlog
> -r-sr-x--- 1 root operator 7400 Sep 28 12:22 calcsize
> -r-xr-xr-x 1 amanda operator 11242 Sep 30 15:54 chg-chio
> -r-xr-xr-x 1 amanda operator 10058 Sep 30 15:54 chg-chs
> -r-xr-xr-x 1 amanda operator 5890 Sep 30 15:54 chg-disk
> -r-xr-xr-x 1 amanda operator 5144 Sep 30 15:54 chg-juke
> -r-xr-xr-x 1 amanda operator 6768 Sep 30 15:54 chg-manual
> -r-xr-xr-x 1 amanda operator 13090 Sep 30 15:54 chg-mcutil
> -r-xr-xr-x 1 amanda operator 5578 Sep 30 15:54 chg-mtx
> -r-xr-xr-x 1 amanda operator 11954 Sep 30 15:54 chg-multi
> -r-xr-xr-x 1 amanda operator 1704 Sep 30 15:54 chg-null
> -r-xr-xr-x 1 amanda operator 3980 Sep 30 15:54 chg-rait
> -r-xr-xr-x 1 amanda operator 6696 Sep 30 15:54 chg-rth
> -r-xr-xr-x 1 amanda operator 142372 Sep 30 15:54 chg-scsi
> -r-xr-xr-x 1 amanda operator 37272 Sep 30 15:54 chg-zd-mtx
> -r-xr-xr-x 1 amanda operator 34696 Sep 30 15:54 driver
> -r-sr-x--- 1 root operator 31272 Sep 30 15:54 dumper
> -r-sr-x--- 1 root operator 5544 Sep 28 12:22 killpgrp
> -r-xr-xr-x 1 operator operator 4848 Sep 28 12:22 patch-system
> -r-sr-x--- 1 root operator 31200 Sep 30 15:54 planner
> -r-sr-x--- 1 root operator 3772 Sep 28 12:22 rundump
> -r-sr-x--- 1 root operator 4636 Sep 28 12:22 runtar
> -r-xr-xr-x 1 operator operator 13572 Sep 28 12:22 selfcheck
> -r-xr-xr-x 1 operator operator 27520 Sep 28 12:22 sendbackup
> -r-xr-xr-x 1 operator operator 24200 Sep 28 12:22 sendsize
> -r-xr-xr-x 1 amanda operator 31144 Sep 30 15:54 taper
> -r-xr-xr-x 1 operator operator 3188 Sep 28 12:22 versionsuffix
>
--
Toomas Aas | toomas.aas AT raad.tartu DOT ee | http://www.raad.tartu.ee/~toomas/
* Make yourself at home! Clean my kitchen.
|
<Prev in Thread] |
Current Thread |
[Next in Thread>
|
- Re: all estimates failed for gnutar, (continued)
- Re: all estimates failed for gnutar, Paul Bijnens
- Re: all estimates failed for gnutar, Fernan Aguero
- Re: all estimates failed for gnutar, Jon LaBadie
- Re: all estimates failed for gnutar, Fernan Aguero
- Re: all estimates failed for gnutar, Matt Hyclak
- Re: all estimates failed for gnutar, Fernan Aguero
- Re: all estimates failed for gnutar, Matt Hyclak
- Re: all estimates failed for gnutar, Fernan Aguero
- Re: all estimates failed for gnutar, Fernan Aguero
- Re: all estimates failed for gnutar,
Toomas Aas <=
- Re: all estimates failed for gnutar, Fernan Aguero
- Re: all estimates failed for gnutar, Fernan Aguero
- Re: all estimates failed for gnutar, Paul Bijnens
- Re: all estimates failed for gnutar, Andreas Sundstrom
- Re: all estimates failed for gnutar, Gene Heskett
|
|
|