All of lore.kernel.org
 help / color / mirror / Atom feed
From: Keith Owens <kaos@ocs.com.au>
To: Matthew Dharm <mdharm-kernel@one-eyed-alien.net>
Cc: Kernel Developer List <linux-kernel@vger.kernel.org>
Subject: Re: using mount from SUID scripts?
Date: Wed, 08 Aug 2001 11:12:53 +1000	[thread overview]
Message-ID: <27034.997233173@kao2.melbourne.sgi.com> (raw)
In-Reply-To: Your message of "Tue, 07 Aug 2001 16:29:39 MST." <20010807162939.A26249@one-eyed-alien.net>

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.


  reply	other threads:[~2001-08-08  1:13 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-08-07 23:29 using mount from SUID scripts? Matthew Dharm
2001-08-08  1:12 ` Keith Owens [this message]
2001-08-08  2:29   ` Jesse Pollard
2001-08-08  5:17     ` Matthew Dharm
  -- strict thread matches above, loose matches on Subject: below --
2001-08-08 12:31 Jesse Pollard

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=27034.997233173@kao2.melbourne.sgi.com \
    --to=kaos@ocs.com.au \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mdharm-kernel@one-eyed-alien.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.