On 04/18/2011 04:51 PM, Chris wrote:
On Mon, 18 Apr 2011 17:44:40 -0500
Sean Laurent<[email protected]> wrote:
Hi,
I have swftools setup and working on a couple of machines and now I'm trying
to set it up again. It's been a while, so I'm sure I'm forgetting
something...
I can successfully convert files if I run pdf2swf as root. But if I try to
run it as a non-root user, I get two errors and then a segfault.
Error: Couldn't create temporary font file
Error: Couldn't create temporary font file
Segmentation fault
Any suggestions?
Try giving the working directories, the correct user permissions,
which includes write access. For example, a+tw or 1777
HTH.
Regards,
Chris.
Hi Sean
Chris, I agree with you but in a Linux machine the temporary font files
are commonly created in /tmp and if this has the wrong access
permissions, all kinds of things should be breaking. Here's a guess.
Sean, did you perhaps interrupt a pdf conversion as root? If so, you
will have some temporary font files orphaned in /tmp with only root
access (.afm and / or .pfb files.) If so, delete these files as root
and then give it another try as a normal user.
Hope it works.
Chris