Recent Topics

1 Dec 27, 2013 19:53    

It appears that the file permissions inside the downloadable zip file are different than they used to be. I used to be able to download the latest version, unzip it onto a server, and run the installation without any problems. However, the files inside the b2evolution-5.0.6-stable-2013-09-25.zip file all have a chmod 664 and the folders are all 775 when unzipped on the server. They will not run properly on a hostgator shared hosting account. I've already tried modding them to 644 and 755 respectively, and they get me past the first step in the installation without errors, so it's definitely a permissions problem with hostgator disallowing files which are "too" permissive.

So, what do I need to do? Do I change every single file to 644 and every single folder to 755? Or are there some folders and files which will need other permissions?

2 Dec 28, 2013 13:21

Hello @jibberjab,

The files and folders permissions could be a tricky part of the installation process, because it depends on your hosting provider configuration and it's difficult to deliver the standard package of b2evo with the "right" permissions set by default. For that reason, you could find some information on these pages: http://b2evolution.net/man/installation-upgrade/new-install/installing-remotely/file-permissions and http://b2evolution.net/man/advanced-topics/security/directory-and-file-permissions.

Please, consider that several FTP clients (i.e. Filezilla) let you set the permissions recursively to all the files and folders, with just a couple of clicks.

Regards!

3 Dec 28, 2013 17:18

Thanks, I'll read through those pages for more info, but I was already to install after recursively changing all directories to 755 and all files to 644. The more permissive settings wouldn't run.

4 Dec 30, 2013 04:06

It might be due to suPhp. But it's for the better, 755 for folders, 644 for files is just fine.


Form is loading...