Page Index Toggle Pages: 1 ReplyAdd Poll Send Topic
Normal Topic permissions issues (Read 31 times)
 
Paste Member Name in Quick Reply Box drivetimenz
New Member
*
Offline


I Love YaBB! for 21 years
now

Posts: 8
Location: New Zealand
Joined: Jun 13th, 2026
Gender: Male
Re: permissions issues
Reply #5 - yesterday at 10:43am
Mark & QuoteQuote  
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 {} +

  

« Last Edit: Today at 8:11am by drivetimenz »  
Back to top
 
IP Logged
 
Paste Member Name in Quick Reply Box drivetimenz
New Member
*
Offline


I Love YaBB! for 21 years
now

Posts: 8
Location: New Zealand
Joined: Jun 13th, 2026
Gender: Male
Re: permissions issues
Reply #4 - yesterday at 10:43am
Mark & QuoteQuote  
last 1, unbeleivable
  
Back to top
 
IP Logged
 
Paste Member Name in Quick Reply Box drivetimenz
New Member
*
Offline


I Love YaBB! for 21 years
now

Posts: 8
Location: New Zealand
Joined: Jun 13th, 2026
Gender: Male
Re: permissions issues
Reply #3 - yesterday at 10:43am
Mark & QuoteQuote  
msg 4
  
Back to top
 
IP Logged
 
Paste Member Name in Quick Reply Box drivetimenz
New Member
*
Offline


I Love YaBB! for 21 years
now

Posts: 8
Location: New Zealand
Joined: Jun 13th, 2026
Gender: Male
Re: permissions issues
Reply #2 - yesterday at 10:43am
Mark & QuoteQuote  
msg 3  Roll Eyes
  
Back to top
 
IP Logged
 
Paste Member Name in Quick Reply Box drivetimenz
New Member
*
Offline


I Love YaBB! for 21 years
now

Posts: 8
Location: New Zealand
Joined: Jun 13th, 2026
Gender: Male
Re: permissions issues
Reply #1 - yesterday at 10:42am
Mark & QuoteQuote  
msg 2  Shocked
  
Back to top
 
IP Logged
 
Paste Member Name in Quick Reply Box drivetimenz
New Member
*
Offline


I Love YaBB! for 21 years
now

Posts: 8
Location: New Zealand
Joined: Jun 13th, 2026
Gender: Male
permissions issues
Yesterday at 10:42am
Mark & QuoteQuote  
msg 1
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
ReplyAdd Poll Send Topic
Bookmarks: del.icio.us Digg Facebook Google LinkedIn reddit Twitter Yahoo
permissions issues

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