This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
Re: ERROR: The effective user ID of staprun must be set to the root user.
On Fri, 2009-01-09 at 15:32 -0500, Frank Ch. Eigler wrote:
...
> > ERROR: The effective user ID of staprun must be set to the root user.
> > Check permissions on staprun and ensure it is a setuid root program.
>
> According to the source code, this comes from a specific check
> upon geteuid() != 0. So the setuid mechanism may be defeated
> somehow - perhaps /usr/local is mounted nosuid?
...
> - FChE
Thanks, but I don't think that that's what's going on.
$ df /usr/local
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/hda1 24795964 6914364 16601696 30% /
$ mount
/dev/hda1 on / type ext3 (rw)
The options field for / in /etc/fstab is "defaults".
Jim