Date: 25 Jun 2003 09:09:25 -0000 From: Mirko Steiner <mirko@perplexa.dyndns.org> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/53710: Acrobat5 can't open files, cause he can't create a temporary file Message-ID: <20030625090925.53150.qmail@perplexa.dyndns.org> Resent-Message-ID: <200306250910.h5P9AEbp002660@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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@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@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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030625090925.53150.qmail>