Amanda-Users

Re: Permission denied on runtar - only when called via amcheck

2004-11-28 12:33:04
Subject: Re: Permission denied on runtar - only when called via amcheck
From: Matt Hyclak <hyclak AT math.ohiou DOT edu>
To: amanda-users AT amanda DOT org
Date: Sun, 28 Nov 2004 12:24:27 -0500
On Sun, Nov 28, 2004 at 08:18:43AM -0600, Fran Fabrizio enlightened us:
> I'm having an odd problem with runtar on one of my linux clients.  Here 
> is the ls -l entry for it.  I'm -positive- that the 'amanda' user is in 
> the 'amanda' group.
> 
> -rwsr-x---    1 root     amanda      13035 Nov 28 08:14 runtar
> 
> When I run amcheck, I get
> 
> [can not execute /usr/local/libexec/runtar: Permission denied]
> 
> for this client.  However, if I "su - amanda" and then type 
> /usr/local/libexec/runtar, I get the usage message so I can run the 
> script fine as amanda.  The only way I can make amcheck happy is if I 
> "chmod o+x runtar".  Once I do that, everything works fine, but I should 
> not have to do that. 
> 
> /usr/local/libexec is on a local partition, not NFS. 
> 
> Any ideas?
> 

Is the amanda user's primary group amanda? If you are using xinetd, you
might have to set "groups = yes" to make sure secondary groups are used.

Matt

-- 
Matt Hyclak
Department of Mathematics 
Department of Social Work
Ohio University
(740) 593-1263

Attachment: pgpdMrxXYYTXb.pgp
Description: PGP signature