Humm.. Its weird that they dont allow 644 permissions.. Maybe it'd be worth defining a constant somewhere for chmod files/folders?
Unfortunately i think the host having a bad umask (default chmod) set will be more common than having the correct umask AND chmoding to 644 breaking things. Any thoughts on how to fix it? I mean, Other than removing the chmoding (simply because its needed under some configs) 2008/11/30 Stefano Aglietti <[EMAIL PROTECTED]> > On Fri, 28 Nov 2008 16:50:00 +0100, Stefano Aglietti > <[EMAIL PROTECTED]> wrote: > > >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 > > bump > > -- > > Stefano Aglietti - StallonIt on IRCnet - ICQ#: 2078431 > Email: [EMAIL PROTECTED] [EMAIL PROTECTED] > Sites: http://www.40annibuttati.it (personal blog) > http://www.wordpress-it.it (WordPress Italia) > _______________________________________________ > wp-testers mailing list > [email protected] > http://lists.automattic.com/mailman/listinfo/wp-testers > _______________________________________________ wp-testers mailing list [email protected] http://lists.automattic.com/mailman/listinfo/wp-testers
