ports/53710: Acrobat5 can't open files, cause he can't create a temporary file

Mirko Steiner mirko at perplexa.dyndns.org
Wed Jun 25 09:10:17 UTC 2003


>Number:         53710
>Category:       ports
>Synopsis:       Acrobat5 can't open files, cause he can't create a temporary file
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jun 25 02:10:14 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     Mirko Steiner <mirko.steiner at slashdevslashnull.de>
>Release:        FreeBSD 4.8-STABLE i386
>Organization:
>Environment:
System: FreeBSD perplexa.slash.home 4.8-STABLE FreeBSD 4.8-STABLE #4: Sun Jun 1 18:54:07 CEST 2003 root at perplexa:/usr/obj/usr/src/sys/MOOOH i386

>Description:
	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.

>How-To-Repeat:
	Just install this port /usr/ports/print/acroread5/ and try to open a PDF file as NON-UID0
>Fix:
	# chmod 1777 /compat/linux/tmp/
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list