Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 Oct 2002 09:53:37 -0400
From:      "Robert Withrow" <bwithrow@nortelnetworks.com>
To:        freebsd-hackers@freebsd.org
Subject:   Linux compatibility and /dev/null
Message-ID:  <200210171353.g9HDrb211194@zrtps0m6.us.nortel.com>

next in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200210171353.g9HDrb211194>