[wp-trac] [WordPress Trac] #8478: FS Chmod 755/644 of files breaks restrictive suexec environments

WordPress Trac wp-trac at lists.automattic.com
Wed Dec 3 23:13:31 GMT 2008


#8478: FS Chmod 755/644 of files breaks restrictive suexec environments
---------------------+------------------------------------------------------
 Reporter:  DD32     |       Owner:     
     Type:  defect   |      Status:  new
 Priority:  normal   |   Milestone:  2.7
Component:  Upgrade  |     Version:  2.7
 Severity:  blocker  |    Keywords:     
---------------------+------------------------------------------------------
 Aparantly when running under suexec, some hosts (particually italian) use
 restricrive file permissions (400 in general) for all user files, and
 refuse to access files which have group or world permissions set.

 As a result, The plugin upgrader, and now core upgrader functionality
 appears to be broken for many italian users.

 The bet fix (I can think of) would be to define some constants for the
 chmod's of new files and folders, and allow users to either define them
 manually, or guess them by setting them to the current /wp-settings.php
 and /wp-includes/ permissions.

 I'm going to attempt to work a patch in around this.

-- 
Ticket URL: <http://trac.wordpress.org/ticket/8478>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list