← Back to team overview

sslug-teknik team mailing list archive

/bin/sh problem på bestemt filsystem

 

Hejsa,
  Hvad pokker der er galt her ?

ext:/home/martin# cat p.sh
#!/bin/sh

echo Hello World
ext:/home/martin# cp p.sh /downloads/
ext:/home/martin# /downloads/p.sh
bash: /downloads/p.sh: /bin/sh: bad interpreter: Permission denied
ext:/home/martin# grep downloads /etc/fstab
/dev/hda5       /downloads      ext3    rw,user         0       0
ext:/home/martin# ls -la  /downloads/p.sh
-rwxr-xr-x  1 martin users 28 2005-01-20 23:42 /downloads/p.sh
ext:/home/martin# ls -ald /downloads/
drwxr-xr-x  49 razor root 4096 2005-01-20 23:41 /downloads/
ext:/home/martin# sh /downloads/p.sh
Hello World
ext:/home/martin#


Tak på forhånd for alle tips for at løse dette problem.

-- 
All general statements are false.


Follow ups