pdf-forms icon indicating copy to clipboard operation
pdf-forms copied to clipboard

snap-installed pdftk only allows for writing in home dir

Open kevinchugh opened this issue 2 years ago • 0 comments

Would you please review this issue and make this change (I tried to do a pull request but the repo is closed)

in lib/pdf_forms/pdftk_wrapper.rb change line 43 from

tmp = Tempfile.new('pdf_forms-fdf')

to

tmp = Tempfile.new('pdf_forms-fdf', ENV["HOME"] or "/tmp")

This fixed our production pdf fillables on ubuntu 20.

kevinchugh avatar May 26 '22 20:05 kevinchugh