Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 Jul 1996 00:00:01 -0700 (PDT)
From:      J Wunsch <j@uriah.heep.sax.de>
To:        freebsd-bugs
Subject:   Re: kern/1399: vnode-pager
Message-ID:  <199607190700.AAA09576@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR kern/1399; it has been noted by GNATS.

From: J Wunsch <j@uriah.heep.sax.de>
To: pst@jnx.com
Cc: FreeBSD-gnats-submit@freebsd.org
Subject: Re: kern/1399: vnode-pager
Date: Fri, 19 Jul 1996 08:33:46 +0200 (MET DST)

 As Paul Traina wrote:
 
 > -r-sr-x---  1 root  pst  13039 Jul 17 14:05 bin/i386/foobar
 > 
 > Once the program begins to execute, it is no longer readable by the new
 > effective UID because this program is being read in over NFS and the
 > standard root privilege mapping prohibits reading.
 
 That should not really matter at all.  Look at the following:
 
 j@uncle 51% ls -l /usr/X11R6/bin/xterm
 -rws--x--x  1 root  bin  155648 Jun  2 11:05 /usr/X11R6/bin/xterm*
 
 This is clearly not readable by the invoker unless he is already
 superuser (which i am not).  It can be executed nevertheless.
 
 Ah, i think i see where the difference is: my xterm is _executable_ by
 UID nobody as well. . . Yep, if i remove the x bit for the world, it
 fails as well.
 
 -- 
 cheers, J"org
 
 joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE
 Never trust an operating system you don't have sources for. ;-)



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