Page Index Toggle Pages: 1 Print
CHMODs (Read 4108 times)
Captain John

Sep 24th, 2007 at 10:11pm
Print Post  
CHMOD is VERY important to the running and operation of the YaBB Forum on a Linux or Unix Server in the Perl environment.
  Though many of the script files and text files will work with a couple permissions of Read/Write/Execute ... We suggest that you set the CHMOD for ALL folders, image, pl, pm and js files to 755.   ALL the other files should be set at 666, especially files under the Members and Messages folders.

Typical chmod Dialog
With everything uploaded and placed on the server where you wish, we need to give special permissions to some files and directories. This process, known as chmod, lets the server know what items need to be written to or executed. This is very important, as incorrect chmod settings can result in a 500 Internal Server Error.

Note: It has been reported that some antiquated or cheap hosting companies may not give you the ability to chmod files. If your host limits this, you will need to contact them to make the following changes.

cgi-bin Files

The following files in your cgi-bin directory need to have their permissions altered. Please note that this list does not include files for which no change is needed.
cgi-bin/yabb2   drwxrwxrwx (chmod 755)
cgi-bin/yabb2/   -rwxr-xr-x (chmod 755)
cgi-bin/yabb2/   drwxrwxrwx (chmod 755)
cgi-bin/yabb2/   drwxrwxrwx (chmod 755)
cgi-bin/yabb2/   drwxrwxrwx (chmod 755)
cgi-bin/yabb2/Admin   drwxrwxrwx (chmod 755)
cgi-bin/yabb2/Boards   drwxrwxrwx (chmod 755)
cgi-bin/yabb2/Boards/*.*   -rw-rw-rw- (chmod 666)
cgi-bin/yabb2/Help   drwxrwxrwx (chmod 755)
cgi-bin/yabb2/Help/English   drwxrwxrwx (chmod 755)
cgi-bin/yabb2/Help/English/Admin   drwxrwxrwx (chmod 755)
cgi-bin/yabb2/Help/English/Admin/*.help   -rw-rw-rw- (chmod 666)
cgi-bin/yabb2/Help/English/Gmod   drwxrwxrwx (chmod 755)
cgi-bin/yabb2/Help/English/Gmod/*.help   -rw-rw-rw- (chmod 666)
cgi-bin/yabb2/Help/English/Moderator   drwxrwxrwx (chmod 755)
cgi-bin/yabb2/Help/English/Moderator/*.help   -rw-rw-rw- (chmod 666)
cgi-bin/yabb2/Help/English/User   drwxrwxrwx (chmod 755)
cgi-bin/yabb2/Help/English/User/*.help   -rw-rw-rw- (chmod 666)
cgi-bin/yabb2/Languages   drwxrwxrwx (chmod 755)
cgi-bin/yabb2/Languages/English   drwxrwxrwx (chmod 755)
cgi-bin/yabb2/Languages/English/*.txt  -rw-rw-rw- (chmod 666)
cgi-bin/yabb2/Members   drwxrwxrwx (chmod 755)
cgi-bin/yabb2/Members/admin.*   -rw-rw-rw- (chmod 666)
cgi-bin/yabb2/Members/*.ims   -rw-rw-rw- (chmod 666)
cgi-bin/yabb2/Members/*.log   -rw-rw-rw- (chmod 666)
cgi-bin/yabb2/Members/*.passes   -rw-rw-rw- (chmod 666)
cgi-bin/yabb2/Members/*.msg   -rw-rw-rw- (chmod 666)
cgi-bin/yabb2/Members/*.rlog   -rw-rw-rw- (chmod 666)
cgi-bin/yabb2/Members/*.ttl   -rw-rw-rw- (chmod 666)
cgi-bin/yabb2/Members/*.txt   -rw-rw-rw- (chmod 666)
cgi-bin/yabb2/Members/*.vars   -rw-rw-rw- (chmod 666)
cgi-bin/yabb2/Messages   drwxrwxrwx (chmod 755)
cgi-bin/yabb2/Messages/*.ctb   -rw-rw-rw- (chmod 666)
cgi-bin/yabb2/Messages/*.txt   -rw-rw-rw- (chmod 666)
cgi-bin/yabb2/Modules   drwxrwxrwx (chmod 755)
cgi-bin/yabb2/Modules/Digest/Perl   drwxrwxrwx (chmod 755)
cgi-bin/yabb2/Modules/Digest/Perl/   drwxrwxrwx (chmod 755)
cgi-bin/yabb2/Modules/Time   drwxrwxrwx (chmod 755)
cgi-bin/yabb2/Modules/Time/   drwxrwxrwx (chmod 755)
cgi-bin/yabb2/Modules/Upload   drwxrwxrwx (chmod 755)
cgi-bin/yabb2/Modules/Upload/   drwxrwxrwx (chmod 755)
cgi-bin/yabb2/Modules/Upload/CGI   drwxrwxrwx (chmod 755)
cgi-bin/yabb2/Modules/Upload/CGI/   drwxrwxrwx (chmod 755)
cgi-bin/yabb2/Sources   drwxr-xr-x (chmod 755)
cgi-bin/yabb2/Sources/*.pl   -rwxr-xr-x (chmod 755)
cgi-bin/yabb2/Templates   drwxrwxrwx (chmod 755)
cgi-bin/yabb2/Templates/default   drwxrwxrwx (chmod 755)
cgi-bin/yabb2/Templates/default/*.*   -rw-rw-rw- (chmod 666)
cgi-bin/yabb2/Variables   drwxrwxrwx (chmod 755)
cgi-bin/yabb2/Variables/*.*   -rw-rw-rw- (chmod 666)

Templates must be o+x so that YaBB can read the files inside. Variables must be o+wx because this is where variables are to be created.

public_html Files

The following files in your public_html directory need to have their permissions altered. Please note that this list does not include files for which no change is needed.
yabbfiles/Attachments   drwxrwxrwx (chmod 755)
yabbfiles/Buttons/English   drwxrwxrwx (chmod 755)
yabbfiles/Buttons/English/*.*   drwxrwxrwx (chmod 755)
yabbfiles/smilies   drwxrwxrwx (chmod 755)
yabbfiles/smilies/*.*   drwxrwxrwx (chmod 755)
yabbfiles/Templates/Admin/default.css   -rw-rw-rw- (chmod 666)
yabbfiles/Templates/Forum   drwxrwxrwx (chmod 755)
yabbfiles/Templates/Forum/default.css   -rw-rw-rw- (chmod 666)

Back to top
IP Logged
Page Index Toggle Pages: 1
  « Board Index ‹ Board  ^Top