1 rene82 Jan 22, 2011 19:40
3 nanahuatl Jan 23, 2011 19:17
Rene82 wrote:
My b2evolution Version: Not Entered
Hi all,
I upgraded to 4.0.3 from 4.0.
[...]
b2evo is running on apache2 web server.Any idea's?
Ok, the following assumes that you can manipulate the owner and group of the directories and files. I have only used once an interface like cPanel -hence I sort of remember ownership/group may be set/modified- but I usually apply modifications from the GNU/Linux command shell as root or super user.
If Apache web server is running on GNU/Linux Red Hat (and derivatives like CentOS), the default user is: apache and default group is: apache
If the Apache web server is running on GNU/Linux Debian (and probably Ubuntu, as well) the default user is: www-data and the default group is: www-data
Setting chmod 0777 (-rwxrwxrwx) is equivalent to allowing the owner, group, and other (users) permission to read, write, and execute. I would not want to allow other (users) permission to write to the directory(ies) hence I would set: chmod 775 (-rwxrwxr-x) for directories and chmod 774 (-rwxrwxr--) for files --at the very least.
Please see [url=http://www.askapache.com/security/chmod-stat.html]Chmod, Umask, Stat, Fileperms, and File Permissions[/url]
Note that tighter security is possibly if the owner/group of the files is set to the Apache web server as indicated initially.
Good luck!
4 rene82 Jan 23, 2011 20:33
Thanks, checking out right now.
are you sure the upgrade is the reason ?