DOMPDF font cache directory Non-writable permissions
You must change the sites/all/modules/contrib/print/lib/dompdf/lib/fonts permissions to be writable, as dompdf requires write-access to that directory.

Here are my permissions:

[lib]$ ls -l
total 128
-rw-rw-r-- 1 user user 117746 Jul 7 2006 class.pdf.php
drwxrwxr-x 2 user user 4096 Jan 21 2011 fonts
drwxrwxr-x 2 user user 4096 Jan 21 2011 res
[lib]$ cd fonts
[fonts]$ ls -l
total 684
-rw-rw-r-- 1 user user 15677 Jul 7 2006 Courier.afm
-rw-rw-r-- 1 user user 15675 Jul 7 2006 Courier-Bold.afm
-rw-rw-r-- 1 user user 15741 Jul 7 2006 Courier-BoldOblique.afm
-rw-rw-r-- 1 user user 15783 Jul 7 2006 Courier-Oblique.afm
-rw-rw-r-- 1 user user 4733 Jan 21 2011 dompdf_font_family_cache
-rw-rw-r-- 1 user user 4733 Jan 21 2011 dompdf_font_family_cache.dist
-rw-rw-r-- 1 user user 77343 Jul 7 2006 Helvetica.afm
-rw-rw-r-- 1 user user 72096 Jul 7 2006 Helvetica-Bold.afm
-rw-rw-r-- 1 user user 72192 Jul 7 2006 Helvetica-BoldOblique.afm
-rw-rw-r-- 1 user user 77443 Jul 7 2006 Helvetica-Oblique.afm
-rw-rw-r-- 1 user user 66839 Jul 7 2006 Times-Bold.afm
-rw-rw-r-- 1 user user 62026 Jul 7 2006 Times-BoldItalic.afm
-rw-rw-r-- 1 user user 68995 Jul 7 2006 Times-Italic.afm
-rw-rw-r-- 1 user user 62879 Jul 7 2006 Times-Roman.afm
-rw-rw-r-- 1 user user 9752 Jul 7 2006 ZapfDingbats.afm
[fonts]$ pwd
/usr/share/drupal6/sites/all/modules/contrib/print/lib/dompdf/lib/fonts
[fonts]$

installed dompdf-0.5.2

Similar error to http://drupal.org/node/884936

Comments

bsnodgrass’s picture

Title: File permissions error in status report DOMPDF » File permissions error in status report (using DOMPDF)

updated title

jcnventura’s picture

Status: Active » Postponed (maintainer needs more info)

Indeed, fonts does not have write permissions unless you're running your web server as your user.

The warning message is correct.

Change it to o+w and the warning should go away.

bsnodgrass’s picture

That did it. I guess I assumed I was running the site as my user.

Thanks

jcnventura’s picture

Status: Postponed (maintainer needs more info) » Closed (works as designed)

No problem.

jcnventura’s picture

Issue summary: View changes

removed site specific info