Herbert Graf wrote: > > The app, although it's setuid root, always reports permission denied. I > changed the source to print out the uid it's running under, and when run as > root it reports being run at uid zero, yet when I run it as another user, > even though it has the setuid bit set, it reports a uid of 500. I can't > figure out why the setuid isn't working. > Of course, there's the issue of actual UID and effective UID. They're not the same thing. As I recall, setuid only affects effective UID. The actual UID stays the same as the actual user running it. Going from memory here, mind. Don't have my manpages to hand. Of course, setuid on scripts is *not* honoured by the kernel, unless the kernel has been patched. I'd double-check the app, make sure it isn't a script. A running of file on it will double-check that. Secondly, are you sure it isn't relinquishing root privs on you? Try running an strace on it and watch what happens. -- http://www.piclist.com hint: The list server can filter out subtopics (like ads or off topics) for you. See http://www.piclist.com/#topics