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; }
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> BackupPC/ sbin/BackupPC_ Admin.pl" REAL_PATH, av);
#ifndef REAL_PATH
#define REAL_PATH "/usr/share/
#endif
int main(ac, av)
char **av;
{
execv(
return 0;
}