Comment 5 for bug 786250

Revision history for this message
In , Iain (iain-redhat-bugs) wrote :

There's also a debian bug about the same issue, but little progress.

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=581950

Using a C wrapper is really quite simple. Move the existing BackupPC_Admin script to BackupPC_Admin.pl, compile the wrapper and install as /usr/share/BackupPC/sbin/BackupPC_Admin with permissions 4755.

#include <unistd.h>
#ifndef REAL_PATH
#define REAL_PATH "/usr/share/BackupPC/sbin/BackupPC_Admin.pl"
#endif
int main(ac, av)
char **av;
{
    execv(REAL_PATH, av);
    return 0;
}