directory & file permissions

Status
Not open for further replies.

evo.evolve

New Member
Messages
14
Reaction score
0
Points
0
I'm using a WWWThreads free forum script, that uses php, but i'm a total noob at php.
Fortunately there is an installer in the forum script that, well i'm not sure what it does except that it makes the forum work...
This is the problem, when i open the installer, it says this:

Before we can do much of anything, we need to make sure that you've got your directory & file permissions set up properly.

Then it gives an error:

Oops. We came across some problems while checking your permissions... ',$errors); ?>

And i saw a small line of code at the top of the page:

backup is not writable!"; if (!check_perms("../img/avatars","0777")) $errors[] = "The folder img/avatars is not writable!"; if (!check_perms("../cache","0777")) $errors[] = "The folder cache is not writable!"; if (!check_perms("../img","0777")) $errors[] = "The folder img is not writable!"; ?>

I'm not sure what this is, but the installer is trying to do this:

chmod 777 backup
chmod 777 cache
chmod 777 img
chmod 777 img/avatars
chmod 777 include/user
chmod 777 include/template
chmod 777 style
chmod 777 uploads
chmod 777 uploads/math

My question is how to change the file and directory permissions to allow the installer to write on them.
 

Zubair

Community Leader
Community Support
Messages
8,766
Reaction score
305
Points
83
Go to your cpanel and then go to file manager....

there you can set permission of files and folder

see attachment....

first check your desired file and then click Change permissions
 

Attachments

  • chmod.JPG
    chmod.JPG
    58.7 KB · Views: 128
Last edited:
Status
Not open for further replies.
Top