[45] in testers
Re: gprof on AFS packs
daemon@ATHENA.MIT.EDU (daemon@ATHENA.MIT.EDU)
Mon Jul 3 13:48:52 1989
From: <probe@ATHENA.MIT.EDU>
Date: Mon, 3 Jul 89 13:48:38 -0400
To: jfc@ATHENA.MIT.EDU
Cc: testers@ATHENA.MIT.EDU
In-Reply-To: John F Carr's message of Mon, 03 Jul 89 11:29:59 EDT,
Reply-To: Richard Basch <probe@ATHENA.MIT.EDU>
Hmmm... I thought gprof had to be sgid kmem. Can someone verify this
one way or the other? If it doesn't have to be sgid, then I can fix the
problem with the AFS packs. If it does, well, then there is a definite
problem (groups don't work with AFS).
-Richard
(original message)
From: <jfc@ATHENA.MIT.EDU>
Date: Mon, 03 Jul 89 11:29:59 EDT
/usr/ucb/gprof is suid root on the AFS RT testers packs.
It appears that AFS does access checks on every write, not just on opening
of the file descriptor, so this command will fail unless root has afs tokens
allowing it to write to the current directory:
gprof > xxx
(the file xxx is created, but gprof, running as root, can't write to it
[the error message, afs: unable to store file (13), has room for improvement]).
I don't see any reason for grpof to be suid OR sgid (it is sgid on the NFS
urvd).