ich hab folgendes problem:
ich starte den rescure mode beim strato server.
ich logge mich ein und lade per wget ein shell skript runter.
ich kann dieses auch mit chmod mit rechten belegen und mit vi bearbeiten.
aber wenn ich es ausführen will sagt er mir auf einmal
File not found
als ob es garnicht existiert.
Woran liegt das bzw. wie kann ich das beheben ?
Strato Rootie Rescure System funzt net richtig
-
- Posts: 10
- Joined: 2004-06-09 10:26
Re: Strato Rootie Rescure System funzt net richtig
Es muss wohl irgendwas mit den Rechten sein denn:
da stimmt doch was net
bei 777 kommt auch no such ...
Code: Select all
# chmod 755 debian-installer.sh
# ./debian-installer.sh
./debian-installer.sh: No such file or directory
#
# chmod 666 debian-installer.sh
# ./debian-installer.sh
./debian-installer.sh: Permission denied
#
bei 777 kommt auch no such ...
-
- Posts: 6
- Joined: 2004-06-08 12:49
Re: Strato Rootie Rescure System funzt net richtig
Liegt fast immer daran das in der ersten Zeile des Scripts der Interpreter steht, z.b.r3z0r wrote:ich logge mich ein und lade per wget ein shell skript runter.
aber wenn ich es ausführen will sagt er mir auf einmal
File not found
als ob es garnicht existiert.
Woran liegt das bzw. wie kann ich das beheben ?
Code: Select all
#!/opt/bin/perl
-
- Project Manager
- Posts: 11186
- Joined: 2003-02-27 01:00
- Location: Hamburg
Re: Strato Rootie Rescure System funzt net richtig
Code: Select all
/bin/sh ./debian-installer.sh
PayPal.Me/JoeUser ● FreeBSD Remote Installation
Wings for Life ● Wings for Life World Run
„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.
Wings for Life ● Wings for Life World Run
„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.