lkml.org 
[lkml]   [1998]   [Oct]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: execve() fails for everyone but root (2.0.>33)
Date
From
> 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/

\
 
 \ /
  Last update: 2005-03-22 13:45    [W:0.189 / U:0.012 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site