You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2004/08/26 22:50:45 UTC

DO NOT REPLY [Bug 30877] New: - htpasswd clears passwd file on Sun when /var/tmp is full

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=30877>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=30877

htpasswd clears passwd file on Sun when /var/tmp is full

           Summary: htpasswd clears passwd file on Sun when /var/tmp is full
           Product: Apache httpd-1.3
           Version: 1.3.27
          Platform: Sun
        OS/Version: Solaris
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Auth/Access
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: jscarsdale@verizon.net


A populated passwd file is replaced with a 0 byte file
if you attempt any operation on the file using htpasswd
and your /var/tmp (or /var/adm) drive is full.

I think what is happening is that a temporary version
of the passwd file (with updates) is written to /var/tmp
and then copied back to the original version.

The htpasswd operation should notice an out-of-space condition
or other file error and fail, rather than replacing the original version
with an empty file.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org