[wp-trac] [WordPress Trac] #15463: Wordpress creates upgrade directory with 644 permissions instead of 755
WordPress Trac
wp-trac at lists.automattic.com
Sun Dec 26 02:29:49 UTC 2010
#15463: Wordpress creates upgrade directory with 644 permissions instead of 755
-------------------------------------------------+-------------------------
Reporter: cancunforos | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting
Component: Plugins | Review
Severity: major | Version: 3.0.1
Keywords: file permissions, wp- | Resolution:
content/upgrade, directory, error installing |
plugins |
-------------------------------------------------+-------------------------
Comment (by dd32):
The defaults for these constants is exactly as they have been set, unless
something sets them elsewhere
http://core.trac.wordpress.org/browser/trunk/wp-
admin/includes/file.php#L841
{{{
841 // Set the permission constants if not already set.
842 if ( ! defined('FS_CHMOD_DIR') )
843 define('FS_CHMOD_DIR', 0755 );
844 if ( ! defined('FS_CHMOD_FILE') )
845 define('FS_CHMOD_FILE', 0644 );
}}}
Adding those 2 rules to the wp-config.php alone will not achieve anything,
unless a plugin is overriding it with incompatible settings.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/15463#comment:1>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list