The message below was posted on info-afs many moons ago (I finally had a
need for one of those 100s of old messages I've been saving).
The problem discussed is with AT&T (Univel?) cfront compilers
(specifically the ptlink program used to instantiate templates) and AFS.
According to the message below, Keith reported this problem (and a fix
- which is simple) to HP, Sun, and AT&T in January of 1993.
Does anyone out there know if their compilers have the fix for this
problem? As Keith mentions, the fix is simple and I have been able to
apply it to the versions that I have source for, but I am stuck on the
ones where I do not have source. I am interested in knowing if anyone
has patches/working versions of CC without this problem. The platforms
I am interested in are:
hp700_ux90 (9.05) [I have fixed it in source]
sun4_413 (4.1.3) [I have fixed it in source]
sgi_52 (5.2) [This is the one I am currently stuck on - no source]
Thanks much.
Erik Riedel
School of Computer Science
---------- Forwarded message begins here ----------
Date: Fri, 11 Jun 1993 12:06:34 -0400 (EDT)
From: Keith Gorlen <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED], [EMAIL PROTECTED] (mike ganzberger)
Subject: Re: AFS problem
In-Reply-To: <[EMAIL PROTECTED]>
References: <[EMAIL PROTECTED]>
Excerpts from mail: 10-Jun-93 AFS problem mike [EMAIL PROTECTED] (2749)
> I believe I've encountered a problem with AFS. We've
> started using the "template" feature of the latest C++ compilers. When
> this feature is in use, the compiler may have to build ("instantiate")
> certain objects at load time. (This stuff is actually done by a
> program called 'ptlink') For some reason this is failing when I try to
> do a build, with the build taking place on the AFS disks.
The problem occurs because 'ptlink' attempts to move a file from one
directory to another by making a hard link to the file from the target
directory if 'ptlink' determines that both directories are on the same
device. AFS prevents this because allowing it would create a way to
bypass access checks on a file's directory-level ACL. The fix to ptlink
is simple. I reported the problem and the patch to AT&T, Sun, and HP
over six months ago.
Keith Gorlen
National Institutes of Health
Bethesda, MD 20892
Phone: (301) 496-1111
FAX: (301) 402-2867
Internet: [EMAIL PROTECTED]