Red Hat Bugzilla – Bug 128494
httpasswd gives error: could not determine temp dir
Last modified: 2007-11-30 17:10:46 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X; en) AppleWebKit/125.2 (KHTML, like Gecko) Safari/125.8
Description of problem:
I currently have Apache configured to work with Tomcat. When I try to create a new htpasswd file or add users to an existing file, I get this:
# htpasswd -c test testuser
Re-type new password:
htpasswd: could not determine temp dir
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Enter "htpasswd -c test testuser" at the command line
2. Enter password
3. Re-type password
Actual Results: The file is created, but no entry is made. The error message given is "htpasswd: could not determine temp dir".
Expected Results: Valid htpasswd user entry.
If you're really on Fedora Core 2, you need to upgrade to the FC2 apr
package, which doesn't have this bug. This is a bug in the FC1 apr
Run "up2date apr" to make sure you have the latest apr package for
Fedora Core 2. If you're really on FC1, this is a dupe of bug 128144.
I'm having same issue while using the following packages:
It was working yesterday before I upgraded the httpd packages
Not sure if I need to downgrade the apr packages?
If you have any package version "0.9.5" of apr or apr-util package,
you have third party packages installed (e.g. David Summer's
Subversion package set). You need to remove these and install Fedora
service httpd stop
rpm --erase --nodeps apr apr-devel apr-util apr-util-devel
up2date apr apr-util apr-devel apr-util-devel
*** Bug 130405 has been marked as a duplicate of this bug. ***