Datei nicht ausführbar, obwohl sie ausführbar ist...

Stannis

Lieutenant
Registriert
Juli 2011
Beiträge
602
Ich habe mir die binaries der Rust toolchain von einem anderen Rechner kopiert und möchte diese nun ausführen. Nun, laut system darf Ich das nicht.

Code:
-rwxr-xr-x 1 stanner users 10734264 Sep 25 11:28 cargo*
-rwxr-xr-x 1 stannis users 10734264 Sep 25 11:28 cargo-clippy*
-rwxr-xr-x 1 stannis users 10048200 Sep 25 11:28 cargo-clone*
-rwxr-xr-x 1 stannis users 10734264 Sep 25 11:28 cargo-fmt*
-rwxr-xr-x 1 stannis users 10734264 Sep 25 11:28 cargo-miri*
-rwxr-xr-x 1 stannis users 11812408 Sep 25 11:28 cargo-vendor*
-rwxr-xr-x 1 stannis users 10734264 Sep 25 11:28 clippy-driver*
-rwxr-xr-x 1 stannis users 10734264 Sep 25 11:28 rls*
-rwxr-xr-x 1 stannis users 10734264 Sep 25 11:28 rustc*
-rwxr-xr-x 1 stannis users 10734264 Sep 25 11:28 rustdoc*
-rwxr-xr-x 1 stannis users 10734264 Sep 25 11:28 rustfmt*
-rwxr-xr-x 1 stannis users 10734264 Sep 25 11:28 rust-gdb*
-rwxr-xr-x 1 stannis users 10734264 Sep 25 11:28 rust-lldb*
-rwxr-xr-x 1 stannis users 10734264 Sep 25 11:28 rustup*
-rwxr-xr-x 1 stannis users  3378240 Sep 25 11:28 xargo*
stannis@rustbasis ~/.c/bin> ./cargo
error: command failed: 'cargo'
info: caused by: Permission denied (os error 13)
stannis@rustbasis ~/.c/bin>

Ich vermute, dass dieser Fehler nicht direkt von der shell, sondern vom Programm kommt. Ich weiß aber nicht, wie Ich dem Problem näher auf den Grund gehen könnte
 
Zuletzt bearbeitet:
strace -v -f -s 256 -o /tmp/strace.txt ./cargo
'strace.txt' von unten nach oben durcharbeiten, evtl. zuerst nach der Fehlermeldung suchen.

Was is'n das für eine Shell, die überall Sterne dran macht?
Edit: Nvm... es ist ls -F.
 
Zuletzt bearbeitet:
Zurück
Oben