The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Moved to new server.... CHMOD ???
Hi. I have many hacks installed, some of them involving direct access to directories (for example, custom avatar and categories, attachments not in db, and so on).
I just moved to another Linux server (php safe mode enabled) and I have many many problems with dir CHMODing... Question is: with the standard dir config, doesn't work almost anything; so I noticed it should be better to mod each dir to 0777. Is it safe enough ? I have vb 2.2.5 with security fix. Otherwise, HOW EACH directory of the tree should be set ? (I mean: images, admin & mod, avatar, attachments, tmp, and so on...) Thanks a lot. Bye |
#2
|
||||
|
||||
well...it depends that's chmod with 777, if you chmod your whole board dir and someone knows PHP outside commands, then they could throw some commands to screw up your board, now, if it's a dir. where only files would be uploaded it, it's safe.
|
#3
|
|||
|
|||
Thanks.
What should be the correct tree configuration ? Entire tree... |
#4
|
||||
|
||||
the basic chmod (if I remember correctly) for a folder is 755
|
#5
|
|||
|
|||
Yes, but if such dir doesn't have write perms (777), I can't upload/create files from php...
|
#6
|
||||
|
||||
777 is for wirteing to a folder thru. the server, but if the folder is set up to be 755, it's read only......so if you want to upload/creathe files thru. the server itself without downloading it to your system and edit it from there, then just chmod a folder to 777
|
#7
|
|||
|
|||
Thanks.
What about the 'Executable' bit ? If I moded the uploads dir to 766, even, php couldn't write into. I think the exec bit for a dir means that dir is browsable by owner, group, others.... not the included files are executable!!! Is it true ? Thnx again |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|