gibts da auch ein konkretes beispiel?
chmod kann ich auch via smartftp zuweisen, kann ich event. chown auch über smartftp machen?
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.
Geändert von Armitage2k (06.12.2006 um 17:45 Uhr)
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.
. . .
Die Apache-Config ist unabhaengig von der Benutzerverwaltung des Betriebssystems.
Hast du's mit deinem FTP-Login versucht?
hab ich alles versucht, hat aber nix geholfen. hab jetzt meinem webhost eine mail geschrieben und ihn darum gebeten die beiden dateien zu löschen. 10minuten später hab ich auch gleich ne antwortmail bekommen wo er sagte alles sei erledigt und dass er die chown für den ordner erneuert hatte.
jetzt stellt sich lediglich noch eine frage. kann ich via chown() direkt die datei direkt beim upload auf meinem ftp-account berechtigen?
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.