Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

snap-installed pdftk only allows for writing in home dir #84

Open
kevinchugh opened this issue May 26, 2022 · 0 comments
Open

snap-installed pdftk only allows for writing in home dir #84

kevinchugh opened this issue May 26, 2022 · 0 comments

Comments

@kevinchugh
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant