Stephan: Safe mode restriction in effect

Beitrag lesen

Hallo,

ich hab einen Root-Server auf dem ich ein php script laufen habe das andere Files erstellen soll (Bilder und HTML-Seiten). Jetzt probier ich da schon zwei Tage rum und bekomms nicht zum laufen weil ich immer wieder die Meldung bekomme:

Warning: mkdir(): SAFE MODE Restriction in effect. The script whose uid/gid is 636/101 is not allowed to access /home/www/web1/html/scpportal/usr_web3_1/default/html/223 owned by uid/gid 30/8 in /home/www/web1/html/scpportal/usr_web3_1/default/shop.php on line 16

oder:
Warning: fopen(): SAFE MODE Restriction in effect. The script whose uid/gid is 636/101 is not allowed to access /home/www/web1/html/scpportal/usr_web3_1/default/html/223 owned by uid/gid 30/8 in /home/www/web1/html/scpportal/usr_web3_1/default/shop_functions.php on line 36

Hier ist das Verzeichnis: (das html verz. hat diese rechte rekursiv)
total 44
drwxr-xr-x    3 web1     ftponly      4096 Nov 22 11:54 ./
drwxr-xr-x    4 web1     ftponly      4096 Nov 15 12:34 ../
drwxrwxrwx    6 web1     ftponly      4096 Nov 22 11:57 html/
-rwxr-xr-x    1 web1     ftponly      5951 Nov 22 11:49 shop.php*
-rwxr-xr-x    1 web1     ftponly       363 Nov 15 18:04 shop_dbfunctions.php*
-rwxr-xr-x    1 web1     ftponly      2934 Nov 22 11:45 shop_functions.php*
-rwxr-xr-x    1 web1     ftponly      5914 Nov 17 21:22 shop_htmlfunctions.php*
-rwxr-xr-x    1 web1     ftponly      2734 Nov 22 11:48 shop_imagefunctions.php*
-rwxr-xr-x    1 web1     ftponly       151 Nov 17 19:59 shop_test.php*

Der apache läuft als www:wwwrun

Die php.ini:
; 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 = /home/www/web1/files/php_includes

Also ist safe mode ausgeschaltet! Aber warum ärgert der mich dann immer? Kann man dem nicht irgendwie sagen, das mich das nicht interessiert und er einfach alles erstellen soll? Auf dem Server läuft ausser mir eigentlich keiner rum, also müsste ich mich höchstens vor mir selber schützen...

Danke! - Stephan