MEI-XING ZHAO writes:
$ cvs log file1 can't create temporary directory /tmp/root/cvs-serv4896 Permission denied
You don't have permission to create subdirectories in /tmp/root (on the server), which is apparently where you have the server's temp directory set to:
<https://www.cvshome.org/docs/manual/cvs-1.11.19/cvs_2.html#SEC37>
Thanks for your reply Larry. You are correct about the problem. I found I can access the CVS repository locally(on the same server) OK. But run cvs command remotely still not working. I am not sure where the /tmp/root set set. It use to be just create the temp files on /tmp. From the link you provided, I am still not sure how to set the temp dir so the client cvs will use this setting. I feel somehow the system sets the temp dir to /tmp/root. Here is ar paragraph from the CVS manual about $TMPDIR:
"Directory in which temporary files are located. The CVS server uses TMPDIR. See section Global options, for a description of how to specify this. Some parts of CVS will always use `/tmp' (via the tmpnam function provided by the system)."
I tried to set TMPDIR, but it only applies to client not the server. Not sure where in the CVS uses '/tmp', I think maybe this is messed up to become '/tmp/root'. Anyidea as how to fix this problem?
Thanks, Mei
-Larry Jones
The surgeon general should issue a warning about playing with girls. -- Calvin
-- ******** Mei-Xing Zhao Enterprise Messaging & Integration, CSSIT Sun Microsystems, Inc. (510) 936-3520 x13520 (internal)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ NOTICE: This email message is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
_______________________________________________ Info-cvs mailing list Info-cvs@gnu.org http://lists.gnu.org/mailman/listinfo/info-cvs