Re: using mount from SUID scripts?
Keith Owens (kaos@ocs.com.au)
Wed, 08 Aug 2001 11:12:53 +1000
On Tue, 7 Aug 2001 16:29:39 -0700,
Matthew Dharm <mdharm-kernel@one-eyed-alien.net> wrote:
>I've got an SUID perl script (yes, it's EUID is really 0) which I'd like to
>use mount from to mount a file via loopback...
>
>Unfortunately, it looks like mount refuses to actually mount anything if
>the EUID and UID aren't the same....
Are you sure the problem is mount? Some versions of bash drop euid(0)
when they execute scripts from setuid programs.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/