Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Jul 2000 04:17:18 -0700 (PDT)
From:      pfeifer@dbai.tuwien.ac.at
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   bin/19978: /usr/bin/make segfaults w/o Makefile for root (over NFS)
Message-ID:  <20000717111718.D2A2C37B8C8@hub.freebsd.org>

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

>Number:         19978
>Category:       bin
>Synopsis:       /usr/bin/make segfaults w/o Makefile for root (over NFS)
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jul 17 04:20:01 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     Gerald Pfeifer
>Release:        4.0-RELEASE
>Organization:
>Environment:
FreeBSD taygeta.dbai.tuwien.ac.at 4.0-RELEASE FreeBSD 4.0-RELEASE #0:
Wed Jul 12 21:20:37 CEST 2000
root@taygeta.dbai.tuwien.ac.at:/usr/src/sys/compile/GERALD_MADE_4.0 i386

(This is a regular kernel with USER_LDT enabled.)
>Description:
Executing /usr/bin/make as root in an NFS-mounted directory belonging
to a regular user with limited permissions (0770) causes a core dump.
>How-To-Repeat:
/sw/test is NFS mounted (v2/UDP) from a Solaris 2.6 box.

taygeta:/sw/test% mkdir x
taygeta:/sw/test% chmod 0770 x
taygeta:/sw/test% ls -la x
total 2
drwxrwx---  2 pfeifer  staff     512 Jul 17 13:08 .
drwxrwx---  8 pfeifer  operator  512 Jul 17 13:08 ..
taygeta:/sw/test% su root
taygeta# make
Segmentation fault

>Fix:
GNU make gets this right:

  taygeta# /sw/gnu/bin/gmake
  gmake: *** No targets specified and no makefile found.  Stop.


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


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




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