Opened 14 years ago
Closed 14 years ago
#18142 closed defect (bug) (duplicate)
Wordpress should explicitly set the permissions on generated .htaccess files
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | trivial | Version: | |
Component: | Permalinks | Keywords: | |
Focuses: | Cc: |
Description
After installing Wordpress 3.2 into a newly setup vhost, I let Wordpress generate a .htaccess file with mod_rewrite rules for permalinks.
The vhost immediately served 500s since the newly created .htaccess file was set to only be read/write by the vhost owner and the webserver process could not read it at all.
Wordpress should not rely on the umask settings of it's install directory and should explicitly chmod a generated .htaccess file immediately after writing to the file.
Change History (1)
Note: See
TracTickets for help on using
tickets.
#16971