From owner-freebsd-bugs Fri Jul 19 00:00:03 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id AAA09597 for bugs-outgoing; Fri, 19 Jul 1996 00:00:03 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id AAA09576; Fri, 19 Jul 1996 00:00:01 -0700 (PDT) Date: Fri, 19 Jul 1996 00:00:01 -0700 (PDT) Message-Id: <199607190700.AAA09576@freefall.freebsd.org> To: freebsd-bugs Cc: From: J Wunsch Subject: Re: kern/1399: vnode-pager Reply-To: J Wunsch Sender: owner-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk The following reply was made to PR kern/1399; it has been noted by GNATS. From: J Wunsch 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. ;-)