Re: execve() fails for everyone but root (2.0.>33)

Matthias Andree (mandree@sx1.HRZ.Uni-Dortmund.DE)
Thu, 15 Oct 1998 01:03:38 +0200


On Wed, Oct 14, 1998 at 11:41:24AM +0200, Torsten Luettgert wrote:
> Hello,
>
> I have a problem with the linux kernels 2.0.x where x>=34. They boot ok,
> but I can only work as root, since no other user is allowed to execute
> anything (including the shell), no matter what the permissions are.
>
> The file system is an ext2 fs, my libc is 5.4.38. With kernel 2.0.33,
> everything works fine. /bin has permissions drwxr-xr-x, btw.
> strace shows that the execve() call fails with "permission denied".

Does your mount option from /etc/fstab allow execution from the device
you try to execute your programs from? Try mount option "defaults" or
add "exec".

-- 
Matthias Andree

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/