https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=38516 --- Comment #18 from David Cook <dcook@prosentient.com.au> --- As the kohadev-koha user, I just tried the following code: #!/usr/bin/perl use Modern::Perl; use PDF::API2; my $pdf_template = '/usr/share/koha/intranet/htdocs/intranet-tmpl/prog/pdf/layout2pagesde.pdf'; my $pdf = PDF::API2->open($pdf_template); print $pdf->stringify; It creates a PDF which I can open in Adobe Acrobat and /usr/share/koha/intranet/htdocs/intranet-tmpl/prog/pdf/layout2pagesde.pdf has the following permissions and ownership: -rw-r--r-- 1 root root 24K Aug 2 00:05 /usr/share/koha/intranet/htdocs/intranet-tmpl/prog/pdf/layout2pagesde.pdf -- This implies that it's something we do between ->open and ->stringify which is causing a problem... -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.