MyBB Community Forums

Full Version: new install on fedora 15 chmod issues?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi,

I'm new to web servers and hosting my own forum. trying to get one up and running using a fedora 15 box as a server. i have followed th chmod procedure to the letter, but the install page says that all the files are not readable. where do i start to fix this problem?

thx
Go to your directory where Mybb is installed and make sure all the files that are saying "Not writable" have a Chmod if 777 and you click save.
i chmod'ed them from the command line. i did however have fedora catch this
"SELinux is preventing /usr/sbin/httpd from write access on the file settings.php."

has anyone seen this error before, and how did you fix it?
Had this problem before, just disabled SELinux.

Using your text editor:

Edit /etc/selinux/config and find:

# This file controls the state of SELinux on the system.
# SELINUX= can take one of these three values:
# enforcing - SELinux security policy is enforced.
# permissive - SELinux prints warnings instead of enforcing.
# disabled - No SELinux policy is loaded.
SELINUX==enabled
# SELINUXTYPE= can take one of these two values:
# targeted - Only targeted network daemons are protected.
# strict - Full SELinux protection.
SELINUXTYPE=targeted

Change the SELINUX== line to SELINUX==disabled and reboot.
(2011-06-19, 02:47 AM)Jordan Lovelle Wrote: [ -> ]Had this problem before, just disabled SELinux.

Using your text editor:

Edit /etc/selinux/config and find:

# This file controls the state of SELinux on the system.
# SELINUX= can take one of these three values:
# enforcing - SELinux security policy is enforced.
# permissive - SELinux prints warnings instead of enforcing.
# disabled - No SELinux policy is loaded.
SELINUX==enabled
# SELINUXTYPE= can take one of these two values:
# targeted - Only targeted network daemons are protected.
# strict - Full SELinux protection.
SELINUXTYPE=targeted

Change the SELINUX== line to SELINUX==disabled and reboot.

i didn't get a chance to try this yet, but following troubleshooting stuff provided by selinux, i got past the chmod checks.