From: nomailings@nospicedham.trgzxcqvbe.cpm   
      
   On Sun, 1 Dec 2019 23:55:06 +0100   
   Xavier Maillard wrote:   
      
   > [snip]   
      
      
      
   > total 20   
   > -rwxrwxrwx 1 xavier xavier 15216 Dec 1 06:47 fibo   
   > -rw-rw-rw- 1 xavier xavier 2304 Dec 1 06:47 fibo.o   
   > -rw-rw-rw- 1 xavier xavier 353 Nov 29 13:11 fibo.s   
   > -rw-rw-rw- 1 xavier xavier 513 Dec 1 06:44 Makefile   
      
   The file privileges look fine, except they're usually 755 for   
   an executable and 644 for a non-executable.   
      
   -rwxr-xr-x <-- 755   
   -rw-r--r-- <-- 644   
      
   > when calling it, I am in ~/devel/asm/fibo directory and I am calling   
   > it with: ::> ./fibo   
   > zsh:1: no such file or directory: ./fibo   
   >   
   > Is there something wrong here (again) ? :)   
      
   Do other Linux utilities see the file? e.g., ls, vi, emacs, file, etc.   
      
   Maybe, you only have read privileges but no execute on the _directory_?   
   i.e., 644 instead of 755. (man chmod)   
      
   Who is the owner on the fibo directory? i.e., maybe xavier isn't   
   the directory owner. (man chown, or man su)   
      
   Do you need to be logged in as root on your system to execute files?   
   (man su)   
      
   Also have you tried just executing fibo without the ./ in front of   
   fibo? e.g., perhaps you already have a . on your directory path.   
      
   Does renaming the file allow it to execute? (man mv) i.e., maybe   
   selecting the directory to exec instead of the file somehow or etc ...   
      
   Finally, what happens with a different shell (bash)? e.g., zsh bug.   
      
      
   Rod Pemberton   
   --   
   "It's OK to be White." <-- investigated by FBI as a hate crime   
   "Black Lives Matter." <-- not being investigated ...   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   
|