I am trying to run the statistics software Stata 11 on Ubuntu 11.10. as a regular user and I get the following error message:
bash: xstata: Permission denied
The user priviledges seem ok to me, tough:
-rwxr-x--x 1 root root 16177752 2009-08-27 16:29 xstata*
I would very much appreciate some advice on how to resolve this issue!
file xstata
to see what the file actually is. My guess is that if it is a binary program, it was compiled for different architecture (like 64 vs 32-bit or ARM arch. or simply a newer processor than yours). – rozcietrzewiacz Nov 04 '11 at 10:00./xstata
. Cheers! – ddd Nov 04 '11 at 10:02xstata
and the output was "cannot execute binary file" - right? If so, than there probably is a broken copy of the file somewhere else in yourPATH
- you should clean up. See also this question about running programs on Linux. – rozcietrzewiacz Nov 04 '11 at 10:17$PATH
(wrong architecture means a 64-bit program on a 32-bit system, or a 64-bit program on a 64-bit system that doesn't have 32-bit support installed). See this question. – Gilles 'SO- stop being evil' Nov 04 '11 at 21:01which xstata
should help you find it. – David Schwartz Nov 04 '11 at 21:50