[872] in NetBSD-Development

home help back first fref pref prev next nref lref last post

Re: try this for that bogus line

daemon@ATHENA.MIT.EDU (Greg Hudson)
Mon Jul 10 16:10:30 1995

To: John Kohl <jtk@atria.com>
Cc: netbsd-dev@MIT.EDU, netbsd-afs@MIT.EDU
In-Reply-To: Your message of "Sun, 09 Jul 1995 22:52:47 EDT."
             <9507100252.AA00768@banana> 
Date: Mon, 10 Jul 1995 16:06:04 EDT
From: Greg Hudson <ghudson@MIT.EDU>


> struct union_mount *um = MOUNTTOUNIONMOUNT(ap->a_vp->v_mount);

With this change, I can now run "file" on files in an AFS directory
union-mounted underneath a local directory, but the permissions are
changed when I run "file".  For instance, in
/var/tmp/uniontest/usr/athena/bin with
/afs/sipb.mit.edu/system/i386_nbsd1 union-mounted below
/var/tmp/uniontest:

limekiller# ls -l zstat
-rwxr-xr-x  1 3622  wheel  36864 Jan 14 10:36 zstat
limekiller# file zstat
zstat: NetBSD/i386 demand paged dynamically linked executable
limekiller# ls -l zstat
-rw-rw-rw-  1 root  wheel  36864 Jan 14 10:36 zstat
limekiller# umask
0

I can run programs from /var/tmp/uniontest/usr/athena/bin, if I don't
run "file" on them first.


home help back first fref pref prev next nref lref last post