|
From: | Scott C. Sosna |
Subject: | Bug (maybe) with temporary directory |
Date: | Mon, 24 Mar 2003 09:29:51 -0600 |
The install notes say that the temporary
directories checked for RWX permissions are $TMPDIR, $TMP, $TEMP, /tmp,
/var/tmp. I do not believe that is the case.
I am running Mandrake Linux 9.0 in a secure mode
and CVS using cvspserver. As a result, the temporary directory ($TMP,
$TMPDIR) is ~/tmp. Because cvspserver initially runs as root to check
password, the temporary directory is set to /root/tmp. However, once the
user changes over to the actual developer (scsosna), there is no access to the
temporary directory. "Add Selection" then fails because scsosna can not
create a file in /root/tmp. And it did not appear to be checking all the
temporary file locations for a directory with WRX.
I tried the --with-tmpdir option and that didn't
seem to work. What did work was to hard-code the temporary directory in
main.c and to remove the getenv() for $TMPDIR. Now things are
working.
I am not sure what the proper solution is because I
do not know the source code too well. However, while searching for a
resolution last night on google and groups.google, there were some people
running into this situation and no one had a legitimate answer. Most
responses dealt with overall install issues, thinking it was a
misconfiguration. However, it was not.
Thanks...let me know if I can provide any
additional information.
-scs
|
[Prev in Thread] | Current Thread | [Next in Thread] |