/usr/sbin/popfile-insert is in popfile 1.1.3+dfsg-0ubuntu1.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | #!/usr/bin/perl -w
$bucket = shift;
@files = ();
chomp( $cwd = `pwd` );
while( my $f = shift )
{
$f = $cwd . "/" . $f if ( $f =~ /^[^\/]/ );
push( @files, $f );
}
chdir "/usr/share/popfile";
$ENV{'POPFILE_ROOT'} = "/usr/share/popfile";
$ENV{'POPFILE_USER'} = "/var/lib/popfile";
umask 0027;
exec "/usr/share/popfile/insert.pl", $bucket || "", @files;
|