tania habib wrote:
I tried it but it does not seem to do the job! Anyways I am running out of ideas, do not know how to fix this permission denied bug.
i guess this is rather simple a thing of not having execute permissions (i guess hfs(+) doess have such a thing)
so the questions are:
./check-cflags where it should be?)
you need to have the "execute" bit set in order to execute a file. e.g. do an "ls -l" in the directory of question.
e.g when i do this (in my favourite fake directory), i get:
drwxr-x--- 2 zmoelnig iemusers 4,0K 2007-07-02 09:54 . drwx------ 7 zmoelnig iemusers 4,0K 2007-07-02 09:53 .. -rwxr----- 1 zmoelnig iemusers 8,0K 2007-07-02 09:54 bar.sh -rw-r----- 1 zmoelnig iemusers 9,0K 2007-07-02 09:54 foo.sh
as you can see, the "bar.sh" has the x(ecutable) flag, set, whereas the foo.sh has not; thus i can "run" ./bar.sh, but running ./foo.sh will result in a "no permissions" error.
mfg.asdr IOhannes