[1138] in Athena Bugs

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

Re: (VS2) Version 6.0C: "source" in csh doesn't distinguish executables

daemon@ATHENA.MIT.EDU (Bill Sommerfeld)
Thu Oct 6 14:47:03 1988

Date: Thu, 6 Oct 88 14:46:35 EDT
From: Bill Sommerfeld <wesommer@ATHENA.MIT.EDU>
To: jtkohl@ATHENA.MIT.EDU
Cc: bugs@ATHENA.MIT.EDU
In-Reply-To: bugs[1136]
Sorry John, you're wrong.

The NFS _server_ gives read access if either read or execute access is
allowed; it is the NFS client which decides whether a particular read
is "execution" (pagein) or "reading".

% echo hello >foo
<wesommer@anubis> {/mit/wesommer}
% chmod 111 foo
<wesommer@anubis> {/mit/wesommer}
% eclipse
eclipse:  sh priam

eclipse:  sln anubis

eclipse:  mount /mit/wesommer
eclipse (mount): call succeeded
$1=[ 0a090000 00100100 f3526f79 00000000 00000000 00000000 00000000 00000000]

eclipse:  lookup $1 foo
eclipse (lookup): call succeeded
eclipse (lookup): NFS call successful
$2=[ 0a090000 47120100 93aba506 00000000 00000000 00000000 00000000 00000000]
fa_type = 1     fa_mode = 100111        fa_nlink = 1
fa_uid = 8973   fa_gid = 8518   fa_size = 6     fa_blksize = 8192
fa_rdev = 363   fa_blocks = 2   fa_fsid = 2314  fa_fileid = 70215
fa_atime = Sat Sep 24 21:54:43 1988
fa_mtime = Thu Oct  6 14:43:07 1988
fa_ctime = Thu Oct  6 14:43:10 1988

eclipse:  read $2 0 100
eclipse (read): call succeeded
eclipse (read): NFS call successful
returned 6 bytes
fa_type = 1     fa_mode = 100111        fa_nlink = 1
fa_uid = 8973   fa_gid = 8518   fa_size = 6     fa_blksize = 8192
fa_rdev = 363   fa_blocks = 2   fa_fsid = 2314  fa_fileid = 70215
fa_atime = Sat Sep 24 21:54:43 1988
fa_mtime = Thu Oct  6 14:43:07 1988
fa_ctime = Thu Oct  6 14:43:10 1988
hello\012

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