Hi list.
The attached patch fixes the TV grab function of vdradmin-0.97-am3.2+ in case that VDR doesn't run on a root account.
Cheers,
Udo
diff -ru vdradmin-0.97-am3.2/vdradmind.pl vdradmin-0.97-am3.2-patched/vdradmind.pl --- vdradmin-0.97-am3.2-original/vdradmind.pl 2005-05-12 10:24:16.000000000 +0200 +++ vdradmin-0.97-am3.2/vdradmind.pl 2005-05-23 16:34:39.000000000 +0200 @@ -4049,7 +4049,8 @@ ############################################################################# sub grab_picture { my $size = $q->param("size"); - my $file = new File::Temp("vdr-XXXXX", UNLINK => 1, SUFFIX => ".jpg"); + my $file = new File::Temp(TEMPLATE => "vdr-XXXXX", DIR => File::Spec->tmpdir(), UNLINK => 1, SUFFIX => ".jpg"); + chmod 0666,$file; my $maxwidth = 768; my $maxheight = 576; my($width, $height);