On Tue, 24 Apr 2012 14:48:18 -0500 Matthew Weigel <uni...@idempot.net> wrote:
> On 24.04.2012 14:22, Christopher Zimmermann wrote: > > Hi, > > > > I'm trying to chroot and drop privileges in a perl script. But > > somehow > > I'm not even able to run it setuid root. The setuid bit gets ignored > > completely. But as I understand sys/sys/exec_script.h. The > > SETUIDSCRIPTS feature is enabled by default. What am I missing? > > > /tmp% ls -l test.pl > > Check the mount options for whatever filesystem /tmp lives on. > Chances are > good it's its own filesystem, and is mounted nosuid. Ah, of course. Thanks!