You are not logged in.
I am an occassional Linux software author among other things, and have recently installed Arch 2007.08 (Don't Panic). Today I compiled and built one of my programs only to discover that Arch doesn't allow me to run it from its build directory. The usual
./progname
produce the error:
bash: permission denied
BUT, if I copy the same executable to /usr/local/bin, it runs happily from there.
I am guessing this is some form of new security mechanism that has been introduced. Can anyone enlighten me as to what this is? Is there a way to defeat it?
By the way, I have tried this on the simplest of programs, the proverbial "hello world", so I know that my software isn't attempting to access files that it doesn't have permissions for. This seems to be a system wide thing.
Any and all insights most appreciated!
Last edited by mac57 (2007-09-03 20:06:07)
Cast off the Microsoft shackles Jan 2005
Offline
Check your mount options, 'user(s)' automatically includes 'noexec'.
1000
Offline
Thanks, will do! I hadn't even considered that, since this is an ext2 volume...
Cast off the Microsoft shackles Jan 2005
Offline