I chmod 777'ed an executable and trying to execute it like this: /home/gandalf/./sample but it doesn't work /bin/bash: line 25: ./sample: Permission denied What can be the problem? Thanks.
Tell me more
×
Server Fault is a question and answer site for
professional system and network administrators. It's 100% free, no registration required.
|
Seems like I would try to cat If you don't understand what is going on, you can post the contents of the script in your question and we'll help you out. |
|||||
|
|
When you type Note that it could be that your file system is mounted |
|||
|
|
|
Maybe your binary file is :
or
|
|||
|
|
|
As Marcel said, probably there is a
|
|||
|
|
file sample? it doesn't look like binary. – rytis Apr 2 '10 at 19:55