SMF Support > Server Performance and Configuration
Attachments
Arantor:
It wasn't so much about the fact they'd put in however many hundreds of posts just to get there, it was more a case of putting in that effort - and then realising they had power that they then abused.
Colin:
Ah, I see. Regardless, still disappointing to see someone take advantage of another like that.
T3khed12:
attachments is directory/folder. In my forum, attachments is under public_html. Your's could be elsewhere.
Try the following... If necessary READ the man page for find and tweek the command.
-sh-4.1$ find . -name attachments -ls
262202 136 drwxrwxrwx 2 1006 1008 139264 Jul 16 22:20 ./public_html/attachments
-sh-4.1$
You have probably already realized that changing perms can create issues you don't already have. Always find the files you are modifying and record the ORIGINAL STATE, perms, root name, extenstion, etc. Save this info in a file. You need to be able to back track to a point where things were working. Always leave yourself a way out if something breaks.
Create a file inventory of you site. If you have a large and heavily loaded site pick a time of day when this work will not impact server response.
1. cd to your site path as root.
2. Save a recursive ls -lR to a file and put it in a safe place. Such as on your work station, etc.
3. You can vi or grep the file and find the original perms and paths for files.
You need to be able to back track to a point where things were working.
The more intense method is to interactively restore the file to a different location such as /tmp and check the perms there. Never. Never restore over the existing file.
I have to go please read through the any typos...
Enjoy...
Navigation
[0] Message Index
[*] Previous page
Go to full version