+----[ Toomas Aas <[EMAIL PROTECTED]> (13.Oct.2004 15:11): | | Fernan Aguero <[EMAIL PROTECTED]> 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.
Hi! | > 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? No, I don't have FORCE_PKG_REGISTER set. And yes, though, I don't remember well, it is possible that I installed first without setting AMANDA_USER (defaulted to operator) and then installed again, now setting AMANDA_USER to the value I wanted. | 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. | +----] OK. I'll make sure to remove everything before reinstalling. Thanks for the suggestion! Fernan -- Fernan Aguero - fernan at iib.unsam.edu.ar Phone: +54 11 4580-7255/7 ext 310, Fax: +54 11 4752-9639 Check http://genoma.unsam.edu.ar/~fernan for more info.
