From: Matthew Dharm <mdharm-kernel@one-eyed-alien.net>
To: Kernel Developer List <linux-kernel@vger.kernel.org>
Subject: using mount from SUID scripts?
Date: Tue, 7 Aug 2001 16:29:39 -0700 [thread overview]
Message-ID: <20010807162939.A26249@one-eyed-alien.net> (raw)
[-- Attachment #1: Type: text/plain, Size: 757 bytes --]
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....
Does anyone happen to know a way around this? Yes, I know this isn't the
most secure thing in the world... but I'm basically trying to build a
filesystem image and put stuff on it using dd, mkfs, mount, and cp. It all
works great when run as root, but it really needs to be useable as a
typical user.
Matt
--
Matthew Dharm Home: mdharm-usb@one-eyed-alien.net
Maintainer, Linux USB Mass Storage Driver
It was a new hope.
-- Dust Puppy
User Friendly, 12/25/1998
[-- Attachment #2: Type: application/pgp-signature, Size: 232 bytes --]
next reply other threads:[~2001-08-07 23:29 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-08-07 23:29 Matthew Dharm [this message]
2001-08-08 1:12 ` Keith Owens
2001-08-08 2:29 ` Jesse Pollard
2001-08-08 5:17 ` Matthew Dharm
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=20010807162939.A26249@one-eyed-alien.net \
--to=mdharm-kernel@one-eyed-alien.net \
--cc=linux-kernel@vger.kernel.org \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®