Error: "could not find a temporary directory"

Shell
chmod +t /tmp
Source

Also in Shell: