Solved: 5 Years, 2 Months, 3 Weeks ago CHMOD? PERMISSION HELP PLS NEED IT NOW!
Solved: 5 Years, 2 Months, 3 Weeks ago
(2016-07-24, 09:24 PM)Josh H. Wrote: EDIT2: Never mind what I said below. From the command line, go to your MyBB root, and run the following command as root:
chown -R www-data:www-data .

The problem is that apache/php will run as the user www-data, and should have ownership over the files, but your user (root) does right now because you uploaded the files as root.

If things don't work after running this, you can then try the steps below.


Edit: partially ninja'd by Ashley

It seems to me like those permissions should have been sufficient, but since they aren't, try these steps:

For inc/config.php and inc/settings.php, right click the file, select "File permissions" (which should be the last option in the list), then give "Owner" and "Group" both read and write access, and world can have read only.

For cache/ and uploads/ (and we'll take care of the avatars folder in this too), right click the folder, select "File permissions" again, and give read, write, and execute to user, group, and world (check all the boxes in the matrix). There should be an option to "recurse into subdirectories." If present, select that. If not, repeat these steps if uploads/avatars/ isn't already drwxrwxrwx in the Permissions (Rättigheter) column.

Attached Files Thumbnail(s)

Messages In This Thread
RE: CHMOD? PERMISSION HELP PLS NEED IT NOW! - by Dex7er - 2016-07-24, 09:35 PM

Forum Jump:

Users browsing this thread: 1 Guest(s)