Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'permissions and PATH' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
permissions and PATH
Authored by: Anonymous on Apr 03, '01 07:24:33AM

Likely what's happening is weirdness in your path, or permissions problems.
Do an ls -laF a.out from the directory that the file's in.
If it looks like:
-rw-r--r-- 1 user group 140 Apr 2 22:23 a.out

Then it's not executable. That's easy to fix. Type chmod 755 a.out and try it again.

Still having problems? It's probably a PATH problem. Try running it by typing ./a.out instead. (The ./ tells it to check your current directory for it.)

Hope this helps.



[ Reply to This | # ]
permissions and PATH
Authored by: Anonymous on Apr 03, '01 10:54:27AM

Thanks for the responses. The permissions where good. What did the trick was running it with the ./a.out in front.

Thanks again.

John



[ Reply to This | # ]