Add Poll
 
Options: Text Color Split Pie
 
 
 
 
 
 
 
 
Poll Comment:
Max 500 characters. Remaining characters:
days and minutes. Leave it blank if you don't want to set it now.

Please type the characters exactly as they appear in the image,
without the first 2 and last 2 characters.
The characters must be typed in the same order,
and they are case-sensitive.
Open Preview Preview

You can resize the textbox by dragging the right or bottom border.
Off Topic Comment Insert Spoiler
Insert Hyperlink Insert FTP Link Insert Image Insert E-mail Insert Media Insert Table Insert Table Row Insert Table Column Insert Horizontal Rule Insert Teletype Insert Code Insert Quote Edited Superscript Subscript Insert List /me - my name Insert Marquee Insert Timestamp No Parse
Bold Italicized Underline Insert Strikethrough Highlight
                       
Change Text Color
Insert Preformatted Text Left Align Centered Right Align
resize_wb
resize_hb







Max 5000 characters. Remaining characters:
Text size: %
More Smilies
View All Smilies
Collapse additional features Collapse/Expand additional features Smiley Wink Cheesy Grin Angry Sad Shocked Cool Huh Roll Eyes Tongue Embarrassed Lips Sealed Undecided Kiss Cry
Topic Summary - Displaying 5 post(s). Click here to show all
Posted by: nixnut
Posted on: Jun 22nd, 2026 at 12:57am
Dandello wrote on Jun 21st, 2026 at 4:51pm:
cgi-bin is used by the server software to hold perl files and other 'executable' type files. PHP does not use the cgi-bin.

A properly configured server will not allow you to execute *.pl or anything else listed as an executable (like *.cgi) from any place other than the cgi-bin. Needing to set folder or file permission to 777 means the server software is dangerously improperly configured.


  all of my sites run perl, no html & definately no php, with secure perms & locked down tight Smiley
Posted by: nixnut
Posted on: Jun 22nd, 2026 at 12:53am
pyragony54 wrote on Jun 21st, 2026 at 3:55pm:
nixnut wrote on Jun 15th, 2026 at 10:43am:
cgi-bin & public to just 1 folder


It will never work that way.




why not?

i have 5 setup like that now with no issues
Posted by: Dandello
Posted on: Jun 21st, 2026 at 4:51pm
cgi-bin is used by the server software to hold perl files and other 'executable' type files. PHP does not use the cgi-bin.

A properly configured server will not allow you to execute *.pl or anything else listed as an executable (like *.cgi) from any place other than the cgi-bin. Needing to set folder or file permission to 777 means the server software is dangerously improperly configured.
Posted by: pyragony54
Posted on: Jun 21st, 2026 at 3:55pm
nixnut wrote on Jun 15th, 2026 at 10:43am:
cgi-bin & public to just 1 folder


It will never work that way.


Posted by: nixnut
Posted on: Jun 15th, 2026 at 10:43am
i installed 3 of these boards on sunday and the layout of files hasn't changed much in 20 odd years, permissions and ownership were the biggest issue but i also moved everything out of cgi-bin & public to just 1 folder (cgi-bin is pretty much obsolete now)

i still have these releases  Grin

/backup/older-backup/recovered/basehome/ftp/AnyOS/forums/yabb/Y1Gold_Release_cgi
.zip
/backup/older-backup/recovered/basehome/ftp/AnyOS/forums/yabb/Y1Gold_SP1.1_cgi.z
ip
/backup/older-backup/recovered/basehome/ftp/AnyOS/forums/yabb/YaBB_1Gold_SP1.3.2
_cgi.zip
/backup/older-backup/recovered/basehome/ftp/AnyOS/forums/yabb/YaBB_2.1.zip
/backup/older-backup/recovered/basehome/ftp/AnyOS/forums/yabb/YaBB Manual.pdf

anyway this solved the problems i see even on this board so rather than set everything to 0777 & 0666 use this...

if you're unable to do this yourself i can do it for you but i will charge, while i'm there i will change every instance of yabbforum.com to yabbforumsoftware.com as well (there's a lot) even on this board and that's not a good look


Code
Select All
 # Add user to apache or www-data group

 # On RHEL/AlmaLinux/CentOS:
 usermod -aG yourusername apache

 # On Debian/Ubuntu:
 usermod -aG yourusername www-data

 # 1. Set the owner to your SSH user, and the group to your primary group
 chown -R yourusername:yourusername /path/to/userdir

 # 1.1 restart apache
 # rhel
 systemctl restart httpd
 # debian
 systemctl restart apache2

 # 1.2 cd to forum/dir

 # 2. Set standard secure permissions (775 for folders, 664 for data files)
 find . -type d -exec chmod 775 {} +
 find . -type f -exec chmod 664 {} +

 # 3. Apply the SGID bit to directories
 # This forces all NEW files created by YaBB/Apache to inherit your group!
 find . -type d -exec chmod g+s {} +

 # 4. Apply Default ACLs (Access Control Lists)
 # This forces all NEW files to automatically get group read/write (664/775)
 # overriding any restrictive defaults hardcoded into older scripts.
 find . -type d -exec setfacl -d -m g::rwx {} +
 find . -type d -exec setfacl -d -m g::rw {} +

 # 5. Restore execute permissions to the Perl scripts so they can run
 find . -name "*.pl" -exec chmod +x {} +
 find . -name "*.cgi" -exec chmod +x {} +