Simple Machines Community Forum

Archived Boards and Threads... => Archived Boards => Install and Upgrade Help => Aiheen aloitti: firebirdnation - toukokuu 09, 2006, 11:09:15 AP

Otsikko: Folder Settings
Kirjoitti: firebirdnation - toukokuu 09, 2006, 11:09:15 AP
Hello,

I am new to SMF, and I just finished upgrading my forum. I had to chmod many folders and files to 777 in order to get it to upgrade, but now that I am finished, I am wondering which folders and files I want to change write or execute protected. Any help would be greatly appreciated.

Thanks,
Bob
Otsikko: Re: Folder Settings
Kirjoitti: jerm - toukokuu 09, 2006, 12:37:16 IP
Why CHMOD 777 is not a security risk (http://www.simplemachines.org/community/index.php?topic=2987.0)

that post will tell you that it is okay to have files/folders chmod to 777
Otsikko: Re: Folder Settings
Kirjoitti: sawz - toukokuu 09, 2006, 03:08:18 IP
Lainaus käyttäjältä: electrohome - toukokuu 09, 2006, 12:37:16 IP
Why CHMOD 777 is not a security risk (http://www.simplemachines.org/community/index.php?topic=2987.0)

that post will tell you that it is okay to have files/folders chmod to 777

thats bad advice
php files should be 644
folders 755

if you leave it at 777 and your on a shared host, your leaving yourself wide open
all my folders are 755 and all my php files are 644 and they work just fine.

another thing, chmod your config files 600
better safe than sorry

found this thread about permissions
http://www.simplemachines.org/community/index.php?topic=86688.0