Red Hat Bugzilla – Bug 75458
bad file permissions
Last modified: 2007-04-18 12:47:20 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.1) Gecko/20020830
Description of problem:
The htpasswd program creates password files with read permissions for the owner
(root in my case) only. This is not sufficient as only the web server (Apache)
will be using these files to control access to web pages.
Apache cannot read the password file generated by htpasswd.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1.Create a .htaccess file with require valid-user
2.Create password file with htpasswd
3.Try to view a webpage protected by the .htaccess file
Expected Results: The htpasswd file should have create files with permissions
such that Apache can read them by default
Thanks for the report. This is a mass bug update; since this release
of Red Hat Linux is no longer supported, please either:
a) try and reproduce the bug with a supported version of Red Hat
Enterprise Linux or Fedora Core, and re-open this bug as appropriate
after changing the Product field, or,
b) if relevant, try and reproduce this bug using the current version
of the upstream package, and report the bug upstream.