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

WordPress Trac wp-trac at lists.automattic.com
Thu Dec 4 01:17:04 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                  |   Resolution:     
 Keywords:  has-patch needs-testing  |  
-------------------------------------+--------------------------------------
Comment (by DD32):

 Yeah, Theres probably too many bugs in the current setup to do it the way
 i've patched.

 The problem with defaulting to 444 and 555 for suexec setups, is that by
 default, they're designed to work with 644/755, And the only setups that
 i've seen/heard of having problems, are those which -need- 0 for
 group/world, So 600 for files (read/write for owner, everyone else leave
 it alone)

 (And who in their right mind would setup a server where the ''owner'' of a
 file cannot write to it? - that means deletion could have problems)

 I'm tempted to suggest defaulting the constants to 644/755(Since its
 working well for most people) and allowing those who have troubles with it
 to define something custom - Until at least, its possible to determine
 what changes need to be made specifically to support the edge cases.

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


More information about the wp-trac mailing list