haynes@ucscc.UCSC.EDU (99700000) (11/13/90)
I'll claim this is a bug, anyway. ranlib uses the current directory for temporary files. Hence the following, when done by a non-privileged user. %cd /usr/lib %cp libm.a /tmp/libm.a %ranlib /tmp/libm.a can't create temporary The reason this is a pain is that I have a bunch of software all compiled on a NFS file system, and I want to let people NFS mount the file system (but not with root access to it) and do a "make install" to install the software on their machines. So the user does a cd to the top of the software tree on the NFS file system, and issues a "make install" The makefile copies a library to the user's machine and tries to ranlib it there, and fails. haynes@ucscc.ucsc.edu haynes@ucscc.bitnet ..ucbvax!ucscc!haynes "Any clod can have the facts, but having opinions is an Art." Charles McCabe, San Francisco Chronicle