Project

General

Profile

Actions

Bug #23919

open

installer breaks if TMPDIR and/or TMP is set.

Added by Han Boetes almost 6 years ago. Updated almost 6 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

With help from I found out the installer fails if TMP and/or TMPDIR is set to a directory not writable by user other than root.

  1. foreman-rake db:migrate db:seed
    mktemp: failed to create file via template ‘/root/.local/tmp/tmp.XXXXXXXXXX’: Permission denied
    /usr/bin/tfm-rake: line 6: $TMP: ambiguous redirect
    /usr/bin/tfm-rake: line 8: $TMP: ambiguous redirect
    /usr/bin/tfm-rake: line 8: $TMP: ambiguous redirect
    bash: no job control in this shell

after unsetting TMP and TMPDIR and running the installer again, the installation finishes succesfully.

Actions

Also available in: Atom PDF