[wp-trac] [WordPress Trac] #19313: improved file system install method detection - allow direct install if user or group permissions match

WordPress Trac wp-trac at lists.automattic.com
Tue Nov 22 00:19:24 UTC 2011


#19313: improved file system install method detection - allow direct install if
user or group permissions match
-----------------------------+------------------------
 Reporter:  neosource        |       Owner:
     Type:  enhancement      |      Status:  closed
 Priority:  normal           |   Milestone:
Component:  Upgrade/Install  |     Version:  3.2.1
 Severity:  normal           |  Resolution:  duplicate
 Keywords:  has-patch        |
-----------------------------+------------------------

Comment (by dd32):

 > I might submit a patch to include a commented line of define('FS_METHOD,
 'direct'); in wp-config instead, to make people more aware of it ...?

 I'd want to avoid that too, Core should automatically select the best
 option for the environment it's on, !WordPress should be able to determine
 it better than most users can (Face it, most users think their host is
 secure too, I'd be willing to be a large chunk that currently use FTP
 upgrades are quite simply, not, and allow for cross-account file
 modifications in the wrong situation).

 If there's a case where we should take into account the group settings
 '''for creating new files''' then it's a worthy addition, unfortunately,
 since !WordPress can't change the ownership of files from group:group to
 user:group, the only case of user:group files being created should be
 handled by the existing code.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/19313#comment:5>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list