vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Moved to new server.... CHMOD ??? (https://vborg.vbsupport.ru/showthread.php?t=39386)

Jawelin 06-03-2002 09:46 AM

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

scsa20 06-04-2002 08:05 PM

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.

Jawelin 06-05-2002 01:54 PM

Thanks.
What should be the correct tree configuration ? Entire tree...

scsa20 06-06-2002 12:13 AM

the basic chmod (if I remember correctly) for a folder is 755

Jawelin 06-06-2002 10:53 AM

Yes, but if such dir doesn't have write perms (777), I can't upload/create files from php... :(

scsa20 06-06-2002 08:19 PM

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

Jawelin 06-07-2002 07:22 AM

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


All times are GMT. The time now is 07:49 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01175 seconds
  • Memory Usage 1,714KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (7)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete