Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 Oct 2002 09:47:44 -0400
From:      "Robert Withrow" <bwithrow@nortelnetworks.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        witr@rwwa.com
Subject:   ports/44169: linux_base-7.1_1 port has bogus protection for /dev/null
Message-ID:  <200210171347.g9HDli206555@zrtps0m6.us.nortel.com>

next in thread | raw e-mail | index | archive | help

>Number:         44169
>Category:       ports
>Synopsis:       linux_base-7.1_1 port has bogus protection for /dev/null
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Oct 17 06:50:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Robert Withrow
>Release:        FreeBSD 4.6.2-RELEASE i386
>Organization:
Nortel Networks
>Environment:
System: FreeBSD tuva.engeast.baynetworks.com 4.6.2-RELEASE FreeBSD 4.6.2-RELEASE #0: Tue Oct 8 16:30:04 EDT 2002 toor@tuva.engeast.baynetworks.com:/usr/src/sys/compile/GX240 i386

>Description:
When a linux program (running in linux compatibility mode) tries to write to
/dev/null it gets:  /dev/null: Permission denied.  This is because
/compat/linux/dev/null has these permissions:

  <~>$ ls -l /compat/linux/dev/null
  -rw-r--r--  1 root  wheel  0 Oct  2 17:59 /compat/linux/dev/null

>How-To-Repeat:
One way to repeat is to try to have the linux-mozilla port run the
linux acrobat reader.  The acroread shell script writes to /dev/null
and triggers this problem.

>Fix:

  chmod 666 /compat/linux/dev/null 

-- 
Robert Withrow, BWithrow@NortelNetworks.com, +1 978 288 8256, ESN 248

>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




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