From owner-freebsd-hackers Thu Oct 17 6:53:42 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 644DF37B401 for ; Thu, 17 Oct 2002 06:53:41 -0700 (PDT) Received: from zcars0m9.nortelnetworks.com (zcars0m9.nortelnetworks.com [47.129.242.157]) by mx1.FreeBSD.org (Postfix) with ESMTP id C2CFE43E3B for ; Thu, 17 Oct 2002 06:53:40 -0700 (PDT) (envelope-from bwithrow@nortelnetworks.com) Received: from zrtps0m6.us.nortel.com (zrtps0m6.us.nortel.com [47.140.192.58]) by zcars0m9.nortelnetworks.com (Switch-2.2.0/Switch-2.2.0) with ESMTP id g9HDrcu16046 for ; Thu, 17 Oct 2002 09:53:39 -0400 (EDT) Received: from tuva.engeast.baynetworks.com (tuva.engeast.baynetworks.com [47.17.140.84]) by zrtps0m6.us.nortel.com (Switch-2.2.0/Switch-2.2.0) with ESMTP id g9HDrb211194 for ; Thu, 17 Oct 2002 09:53:37 -0400 (EDT) Message-Id: <200210171353.g9HDrb211194@zrtps0m6.us.nortel.com> X-Mailer: exmh version 2.5 07/13/2001 with nmh-1.0.4 To: freebsd-hackers@freebsd.org Subject: Linux compatibility and /dev/null Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 17 Oct 2002 09:53:37 -0400 From: "Robert Withrow" Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi: I was trying to get my linux-mozilla-1.1 to spawn off acroread when I click on PDF links, but I kept getting this: /usr/local/bin/acroread5: /dev/null: Permission denied I played with the acroread5 script and added, at the beginning, echo "hi" > /dev/null and got: + echo hi /home/bwithrow/bin/acroread5: /dev/null: Permission denied What gives? ls -l /dev/null says: crw-rw-rw- 1 root wheel 2, 2 Oct 9 12:45 /dev/null That's groovy. But what about /compat/linux/dev/null? -rw-r--r-- 1 root wheel 0 Oct 2 17:59 /compat/linux/dev/null Hmm??? Doing "chmod 666 /compat/linux/dev/null" fixes the problem. This looks like a bug in the linux-base port. I'll file a PR. -- Robert Withrow, BWithrow@NortelNetworks.com, +1 978 288 8256, ESN 248 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message