Etaoin Shrdlu wrote: > Mine are (as stated in the docs): > > -rwsr-x--- 2 backuppc apache 3894 Apr 20 15:29 BackupPC_Admin > > I remember having to set ownership and permissions _exactly_ this way, > otherwise it refused to work. To check, I did "su - apache" and > tried to > execute the cgi from the command line.
I set the permissions just like you. Then I did "su -s /bin/bash - apache" (I needed the -s switch as my apache user doesn't have a shell by default, which is good I guess) and was able to execute BackupPC_Admin as user apache. Any idea why I'm still getting 500 Internal Server Error in my browser and Premature end of script errors in my error_log? > Btw, I have apache server running as user apache and group apache. > I don't think it's a vhost problem (but I might be wrong, I don't use > vhosts on this computer). My apache runs as apache as well. > As for the cgi-bin dir, I think that ownership and permissions do not > matter, as long as the user that apache is running as is able to enter > the directory and execute the cgi. It is. > And, make sure that your perl has perlsuid support as explained in the > BackupPC docs. Seems fine to me. # rpm -q perl-suidperl perl-suidperl-5.8.5-34.RHEL4 # rpm -ql perl-suidperl /usr/bin/sperl5.8.5 /usr/bin/suidperl Thanks for the help though, Nils Breunese. _______________________________________________ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/backuppc-users http://backuppc.sourceforge.net/