| Summary: | Acrobat5 can't open files, cause he can't create a temporary file | ||
|---|---|---|---|
| Product: | Ports & Packages | Reporter: | Mirko Steiner <mirko.steiner> |
| Component: | Individual Port(s) | Assignee: | freebsd-ports-bugs (Nobody) <ports-bugs> |
| Status: | Closed FIXED | ||
| Severity: | Affects Only Me | ||
| Priority: | Normal | ||
| Version: | Latest | ||
| Hardware: | Any | ||
| OS: | Any | ||
State Changed From-To: open->closed This problem is not acroread's one. Please remove your /compat/linux/tmp or keep same your /tmp. SEE ALSO: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/linuxemu-advanced.html |
Acrobat Reader cancel the file opening process with the errormessage: "There was an error opening this document. A temporary file could not be opened." I've ktraced acrobat and found where the error accours: 541 acroread NAMI "/compat/linux/tmp/Acropy1jr8" 541 acroread RET open -1 errno -13 Unknown error: -13 Per default, the "tmp" directory in /compat/linux/ is not world-wide-writeable, so acrobat can't create a temp file in there, if you try it as a NON-UID0 user. Fix: # chmod 1777 /compat/linux/tmp/ How-To-Repeat: Just install this port /usr/ports/print/acroread5/ and try to open a PDF file as NON-UID0