BackupPC-users

Re: [BackupPC-users] unable to excecute cgi

2008-04-13 14:13:47
Subject: Re: [BackupPC-users] unable to excecute cgi
From: Les Mikesell <lesmikesell AT gmail DOT com>
To: Doug Lytle <support AT drdos DOT info>
Date: Sun, 13 Apr 2008 13:13:18 -0500
Doug Lytle wrote:
> Benedict simon wrote:
>>         Options +ExecCGI
>>   
> 
> You need to get rid of the +, it should read:
> 
> Options ExecCGI
> 

I don't think that's the problem.  Without execgi you'd get the text of 
the perl script and he's getting a permission denied error.  The 
BackupPC_Admin file must be owned by the backuppc user and suid, but 
must have the group ownership set to the httpd user (probably apache) 
and have at least rx permissions for group.
Assuming backuppc and apache are the right user/group:
cd /var/www/cgi-bin
chown backuppc:apache BackupPC_Admin
chmod u+s,g+rx,o-rwx BackupPC_Admin
should fix it.  If you have SELinux enabled you probably need to adjust 
its policy too.

-- 
   Les Mikesell
    les AT futuresource DOT com


-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
BackupPC-users mailing list
BackupPC-users AT lists.sourceforge DOT net
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/

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