TWLan Forum

Full Version: Linux-Server Problem
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Deutsch
Hallo ich habe ein problem mit meinem server:
Quote:Warning: Unknown(/opt/twlan/htdocs/index.php): failed to open stream: Permission denied in Unknown on line 0

Warning: (null)() [function.include]: Failed opening '/opt/twlan/htdocs/index.php' for inclusion (include_path='.') in Unknown on line 0

English
Hello I have a problem with my server is:

Quote:Warning: Unknown(/opt/twlan/htdocs/index.php): failed to open stream: Permission denied in Unknown on line 0

Warning: (null)() [function.include]: Failed opening '/opt/twlan/htdocs/index.php' for inclusion (include_path='.') in Unknown on line 0
Ich würd mal sagen, der Server hat keine Leserechte auf die Datei. Wink
I have checked the file path and it exists so I'm not sure why it failed?
I checked the properties of httpd and its set as executable so I can't see and issue there?
Warum liegt der Server Root unter /opt? In allen Linux Systemen ist der Standart /var/www.

Je nach System kannst du das wie folg auf der Kommandozeile beheben, dazu brauchst du aber root rechte (also sudo oder root benutzer).

Code:
chmod -R 0755 /opt/twlan/htdocs/

Nach dem ausführen können alle die Datei lesen, aber nur der Besitzer schreiben.