I think I have solved my problem, although I don't understand what happened. As I noted, I compiled with user operator and group root. This is the way I had it set up for 2.4.1p1 and 2.4.2p2 and it worked fine. I checked to make sure that user operator was in group root, and it was. So I decided to add operator to a secondary group of root, and that solved the problem. Of course, it should not work this way, so I need to solve the problem, but I don't know what happened.
Thanks > > I recently upgraded amanda on my RH6.2 SPARC box from 2.4.1p1 to 2.4.2p2 to >2.4.2p2-tapeio. I had a few problems with the first upgrade. All seemed to be >operator error. The second upgrade,2.4.2p2-tapeio, has introduced a different set of >problems. > > I created a shell script with all of the configure options, so I know that the same >options were used to configure and install both upgrades. > > My problem is that one of my backup jobs now gives me errors. The errors are for the >devices on the tapeserver that I want backed up. Again, this worked before the last >upgrade and I did make sure that I had the user and group set correctly for amanda >and the devices. > > I get the following errors when I run amcheck: > ERROR: server: [could not access /dev/sda2 (sda2): Permission denied] > ERROR: server: [can not execute /usr/libexec/runtar: Permission denied] > > The one thing I did change was rather than using comp-root, I switch to >comp-root-tar. I had not been using the tar option before. I did check runtar and it >has the following permissions: > > -rwsr-x--- 1 root root 90664 Jan 31 10:11 /usr/libexec/runtar > > My amanda user is operator and her group is root. > > If I switch to comp-root I still get the permission denied error for the 3 devices >on the tapserver. Again, I think I have the permissions set correctly on these >devices as well. > > brw-rw---- 1 root root 8, 2 May 5 1998 /dev/sda2 > > When I did make install I was logged in as root, and when I did amcheck I was logged >in as operator. > > Does anyone have any ideas on how to fix my problem? > > Thanks >
