apache user on forum dir [message #13989] |
Sun, 02 November 2003 22:18 |
|
masselinkies
Messages: 19 Registered: March 2003
Karma: 0
|
Junior Member |
|
|
Hi!
When I install 2.5.2 It first says safe mode is on:
my php.ini safemode settings can be seen at the bottom of my mesage.
So I let everything install on the suggested directories: FUDforum2 and forum
Then it complains about the permisssions so I do a chmod on FUDforum2 to 777, fine: works. However the forum directory can not ba changed because the directory user is not me it is (with ls -l): apache.
What to do now?
Can I change install.php so mkdir will create the dir with my userid??
Regards, Hans
====php.ini: I commented out some lines as you can see.
; Safe Mode
;
safe_mode = Off
; By default, Safe Mode does a UID compare check when
; opening files. If you want to relax this to a GID compare,
; then turn on safe_mode_gid.
safe_mode_gid = Off
; When safe_mode is on, UID/GID checks are bypassed when
; including files from this directory and its subdirectories.
; (directory must also be in include_path or full path must
; be used when including)
safe_mode_include_dir =
; When safe_mode is on, only executables located in the safe_mode_exec_dir
; will be allowed to be executed via the exec family of functions.
safe_mode_exec_dir =
; Setting certain environment variables may be a potential security breach.
; This directive contains a comma-delimited list of prefixes. In Safe Mode,
; the user may only alter environment variables whose names begin with the
; prefixes supplied here. By default, users will only be able to set
; environment variables that begin with PHP_ (e.g. PHP_FOO=BAR).
;
; Note: If this directive is empty, PHP will let the user modify ANY
; environment variable!
safe_mode_allowed_env_vars =
; PHP_ TZ
; This directive contains a comma-delimited list of environment variables that
; the end user won't be able to change using putenv(). These variables will be
; protected even if safe_mode_allowed_env_vars is set to allow to change them.
safe_mode_protected_env_vars =
; LD_LIBRARY_PATH
; open_basedir, if set, limits all file operations to the defined directory
; and below. This directive makes most sense if used in a per-directory
; or per-virtualhost web server configuration file. This directive is
; *NOT* affected by whether Safe Mode is turned On or Off.
;open_basedir =
; This directive allows you to disable certain functions for security reasons.
; It receives a comma-delimited list of function names. This directive is
; *NOT* affected by whether Safe Mode is turned On or Off.
disable_functions =
; This directive allows you to disable certain classes for security reasons.
; It receives a comma-delimited list of class names. This directive is
; *NOT* affected by whether Safe Mode is turned On or Off.
disable_classes =
|
|
|
Re: apache user on forum dir [message #13998 is a reply to message #13989] |
Mon, 03 November 2003 14:01 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
No you use the FUDforum's file unlock admin menu to unlock the files. Or uninstall.php script if the installation failed.
FUDforum Core Developer
|
|
|