PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : Fehler bei den Permissions



LsHaRk
11.11.04, 15:10
Hallo,

habe seit kurzem nen rootserver und wollte nun als user einen eggdrop einrichten. wenn ich jedoch den befehl ./configure eingebe kriege ich diesen ******fehler hier:


~/eggdrop1.6.17$ ./configure
./configure: cannot create temp file for here document: Permission denied
./configure: cannot create temp file for here document: Permission denied
./configure: cannot create temp file for here document: Permission denied
./configure: cannot create temp file for here document: Permission denied
./configure: cannot create temp file for here document: Permission denied
./configure: cannot create temp file for here document: Permission denied
./configure: cannot create temp file for here document: Permission denied
./configure: cannot create temp file for here document: Permission denied

This is Eggdrop's GNU configure script.
It's going to run a bunch of tests to hopefully make your compile
work without much twiddling.

checking for gcc... gcc
./configure: cannot create temp file for here document: Permission denied
./configure: cannot create temp file for here document: Permission denied
checking for C compiler default output file name... configure: error: C compiler cannot create executables
See `config.log' for more details.
./configure: cannot create temp file for here document: Permission denied
./configure: cannot create temp file for here document: Permission denied
./configure: cannot create temp file for here document: Permission denied


Leider kriege ich es nicht gebacken mein problem zu lösen. Es wäre nett wenn ihr mir dabei helfen könntet.

LsHaRk

Tomek
11.11.04, 15:37
Vielleicht die falschen Rechte auf /tmp? Paste mal bitte die Ausgabe vom folgenden Befehl:

ls -ld /tmp

LsHaRk
11.11.04, 18:05
wenn ich den o.g. befehl ausführe kriege ich diese meldung hier:

drwxr-xr-x 4 root root 4096 Nov 11 15:01 /tmp

Danke für deine Hilfe :)

LsHaRk

LsHaRk
11.11.04, 18:06
habs jetzt auf 777 gesetzt und nun klappt alles einwandfrei.

LsHaRk

carnil
11.11.04, 22:54
Hi

Ich glaube mich erinnernt zu können, dass man für /tmp nicht chmod 777 vergeben soll, also alle dürfen alles.
Bei mir sehen die Rechte so aus:


salvi@arda:~$ ls -dl /tmp
drwxrwxrwt 12 root root 4096 Nov 11 22:52 /tmp
salvi@arda:~$

Vielleicht ist das der Grund:

STICKY DIRECTORIES
When the sticky bit is set on a directory, files in that directory may
be unlinked or renamed only by root or their owner. Without the sticky
bit, anyone able to write to the directory can delete or rename files.
The sticky bit is commonly found on directories, such as /tmp, that are
world-writable.

Bitte korrigieren, falls ich falsch liegen sollte.

MfG carnil