[wp-testers] Problem with automatic upgrade

Stefano Aglietti steagl4ml at gmail.com
Fri Nov 28 15:50:00 GMT 2008


One of my mate fro wordpress italy site wrote this ion hackers ML but
i suppose it fits better in this ML.

>I'm testing automatic upgrade on many shared hosting.
>I've found an important problem with shared hosting that uses suexec.
>Many of them want for directory and files CHMOD 775 and since the  
>automatic upgrade CHMOD files 644 at the end of tre process I always  
>get internal server error and I have to restore right permissions from  
>the admin panel.
>You find the CHMOD in this files:
>wp-admin/includes/file.php:                 $fs->chmod($to .  
>$file['filename'], 0644);
>wp-admin/includes/update.php:           $wp_filesystem- 
> >chmod($wp_dir . 'wp-admin/includes/update-core.php', 0644);
>wp-admin/includes/update-core.php:    $wp_filesystem- 
> >put_contents($maintenance_file, $maintenance_string, 0644);
>
>It's really necessary that wordpress on an upgrade CHMOD files on an  
>hosting already up and running with the right permissions?
>Here in Italy It will be a very big problem since the biggest Share  
>Hosting Providee use suexec with 755 on directory and permissions.

Sound like a big bad problem other provider very used in Itay use
suexec too

-- 

Stefano Aglietti - StallonIt on IRCnet - ICQ#: 2078431
Email: steve at 40annibuttati.it steagl at people.it
Sites: http://www.40annibuttati.it (personal blog)
       http://www.wordpress-it.it (WordPress Italia)


More information about the wp-testers mailing list