Messages in this thread | | | Subject | Re: execve() fails for everyone but root (2.0.>33) | Date | Fri, 16 Oct 1998 14:23:03 +0800 | From | David Luyer <> |
| |
> 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".
More likely reason is permission on /lib/ld*; they need execute permission for people running binaries as of 2.0.34 or so. This should be in the FAQ.
David.
- 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/
| |