From owner-freebsd-questions Wed Nov 20 14:58:33 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3457F37B401 for ; Wed, 20 Nov 2002 14:58:31 -0800 (PST) Received: from server.simon1.net (user23.net263.oh.sprint-hsd.net [208.17.71.23]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6EEE843E42 for ; Wed, 20 Nov 2002 14:58:30 -0800 (PST) (envelope-from simon1@server.simon1.net) Received: from server.simon1.net (localhost [127.0.0.1]) by server.simon1.net (8.12.5/8.12.5) with ESMTP id gAKMwWRC046310 for ; Wed, 20 Nov 2002 17:58:32 -0500 (EST) Received: from localhost (simon1@localhost) by server.simon1.net (8.12.5/8.12.5/Submit) with ESMTP id gAKMwWAm046307 for ; Wed, 20 Nov 2002 17:58:32 -0500 (EST) Date: Wed, 20 Nov 2002 17:58:32 -0500 (EST) From: Simon1 To: Subject: Acroread5 Message-ID: <20021120174238.H46219-100000@server.simon1.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I'm having troubles opening PDF files with Acroread5 (acroread-5.06_1, installed from ports). As root, I can open any file and I'll never get an error. As a user, I can't open ANY files with the default settings. I always get an error: Title of the error window: Acrobat Reader <2> (I should note: The <2> ONLY was displayed when I loaded Acrobat Reader, THEN went to file->open, if I just acroread5 test.pdf from the command line, the error was the same, but the "<2>" was NOT in the error windows title bar.) "There was an error opening this document. A temporary file could not be opened." So, I checked permissions on /tmp drwxrwxrwt 13 root wheel 512 Nov 20 17:22 tmp I am able to create and delete files in /tmp as this user. $ touch /tmp/test $ ls -al /tmp/test -rw-r--r-- 1 simon1 wheel 0 Nov 20 17:46 test $ rm /tmp/test $ ls -al /tmp/test ls: /tmp/test: No such file or directory Our of curiosity, $ mkdir /home/simon1/tmp $ chmod 600 /home/simon1/tmp $ TEMP=/home/simon1/tmp ; export TEMP $ acroread5 test.pdf I get the same error as with /tmp. Next I tried: $ chmod 700 /home/simon1/tmp $ acroread5 test.pdf Which worked beautifully. I've done searches on the net (Google, FreeBSD, and I read the man page & ports information) and I haven't seen anyone mention what's going on. I see where a "insecure /tmp" file vulnerability has been fixed. On my past install of FreeBSD + Acroread5 from ports about 3 months ago I didn't have this problem. So I'm wondering if the fix isn't what's causing this. I'm running 4.7-RELEASE. Could anyone tell me what I'm doing wrong or what I need to set to use acroread normally? Also, if the default behavior of acroread has been changed to require people to use their own personal temporary directories could this please be added to the documentation and information displayed when the port is installed? -Wolfe To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message