Neuerdings kann ich gewisse Dateien auf meinem Webserver nicht mehr löschen. Interessant ist dass es sich dabei nur um ein paar bestimmte Dateien handelt, nicht jedoch um alle. Ich kann also ohne weiters meine .php dateien im Hauptordern löschen/ersetzen, aber Bilder aus meinem Gallery Ordner nicht....
Ich hab auch schon probiert dem Ordner mit der Datei CHMOD 777 reinzudrücken (was er akzeptiert), jedoch kann ich danach immer noch nix tun.
Habs jetzt über das FTP Interface des Servers und über SmartFTP probiert, jedoch bekomm ich beiden den Fehler: Permission Denied.
Irgendwelche Ideen?
greets,
A2k
--
The problem with America is stupidity.
I'm not saying there should be a capital punishment for stupidity, but why don't we just take the safety labels off of everything and let the problem solve itself?
----
Arguing with the moderators is like shaking your fist at God. There's nobody there; and if there is, he's not listening. And if he's listening, all you're doing is pissing him off.
die datei wurde via upload script am server gespeichert.... warum?
--
The problem with America is stupidity.
I'm not saying there should be a capital punishment for stupidity, but why don't we just take the safety labels off of everything and let the problem solve itself?
----
Arguing with the moderators is like shaking your fist at God. There's nobody there; and if there is, he's not listening. And if he's listening, all you're doing is pissing him off.
Mir sind auch schon Dateien vorgekommen, die man nicht mehr runterladen konnte (per FTP)
Ich weiß nicht, aber ich denke dein Fehler könnte einen ähnlichen Grund haben.
Notfalls verschieb mal alle anderen Dateien und lösch den Überordner (falls es was hilft)
Wenn eine Datei per Script hochgeladen wird, gehoert sie dem User, der den Webserver ausfuehrt (fuer gewoehnlich apache). Wenn man sich ueber FTP einloggt, ist man aber meistens ein anderer User -> man hat andere Zugriffsrechte fuer die Datei.
Du koenntest z.B. versuchen, die Rechte oder den Datei-owner via Script zu aendern.
gibts dafür ein script oder muss ich mir das erst selber basteln? wie würde ich sowas überhaupt erstellen?
thx,
A2k
--
The problem with America is stupidity.
I'm not saying there should be a capital punishment for stupidity, but why don't we just take the safety labels off of everything and let the problem solve itself?
----
Arguing with the moderators is like shaking your fist at God. There's nobody there; and if there is, he's not listening. And if he's listening, all you're doing is pissing him off.
gibts da auch ein konkretes beispiel?
chmod kann ich auch via smartftp zuweisen, kann ich event. chown auch über smartftp machen?
--
The problem with America is stupidity.
I'm not saying there should be a capital punishment for stupidity, but why don't we just take the safety labels off of everything and let the problem solve itself?
----
Arguing with the moderators is like shaking your fist at God. There's nobody there; and if there is, he's not listening. And if he's listening, all you're doing is pissing him off.
hab mir schnell mal sowas gebastelt, leider bekomm ich da immer die fehlermeldung:
Warning: chmod(): SAFE MODE Restriction in effect. The script whose uid is 2197 is not allowed to access ./pics/art/bolGallery/thumbnail_ffxii.JPG owned by uid 33 in /www/www/virtual/armitage2k.net/htdocs/public/chown.php on line 7
Warning: chown(): Unable to find uid for root@armitage2k.net in /www/www/virtual/armitage2k.net/htdocs/public/chown.php on line 8
mein script sieht so aus:
das script befindet sich in meinem hauptordern, daher auch die "./". prinzipiell ist es egal ob ich den absoluten pfad oder diesen angebe. laut meiner phpinfo() ist der server_admin richtig, auch alle anderen einstellungen passen, aber ich bekomm immer dieselbe fehlermeldung... ideen?
thx,
A2k
--
The problem with America is stupidity.
I'm not saying there should be a capital punishment for stupidity, but why don't we just take the safety labels off of everything and let the problem solve itself?
----
Arguing with the moderators is like shaking your fist at God. There's nobody there; and if there is, he's not listening. And if he's listening, all you're doing is pissing him off.
Dein unix-Username (vermutlich identisch mit deinem FTP-Login), nicht irgendeine Mailadresse...
Die erste Fehlermeldung deute ich so, dass ein Script nur Dateien chmodden darf, die dem gleichen User gehoeren, sprich, dein Script muesste dem Apache gehoeren. Versuch vllt. mal, das Script mit dem Apache anzulegen (also ein PHP-Script zu schreiben, dass die PHP-Datei mit den chown-/chmod-Befehlen generiert).
das ist nicht einfach nur irgendeine mail adresse, das is die adresse die mir via phpinfo() als server_admin angezeigt wird.
selbst wenn ich diese auf meinen administrator benutzername ändere, passiert nichts. immer der gleiche fehler.
--
The problem with America is stupidity.
I'm not saying there should be a capital punishment for stupidity, but why don't we just take the safety labels off of everything and let the problem solve itself?
----
Arguing with the moderators is like shaking your fist at God. There's nobody there; and if there is, he's not listening. And if he's listening, all you're doing is pissing him off.