[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20090724231658.GM27755@shareable.org>
Date: Sat, 25 Jul 2009 00:16:58 +0100
From: Jamie Lokier <jamie@...reable.org>
To: John Stoffel <john@...ffel.org>
Cc: Andreas Dilger <adilger@....com>,
Ludwig Nussel <ludwig.nussel@...e.de>,
linux-fsdevel@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 1/2] implement uid mount option for ext2
John Stoffel wrote:
> I didn't read the original email closely, but I have to say that both
> of these plans don't sound good to me. If you can mount a filesystem,
> you're root already, so you can do any fixup you need.
What if someone lends you a 1TB disk, for you to browse it in your
favourite GUI or Shell Window to read some files from it? And you're
to put a couple of files on it before you give it back?
Hotplug scripts run as root to mount it, and you have your GUI / Shell
Window which don't run as root to read and write a few of those files.
You must not chown anything on the disk, because it isn't your disk.
> But in that case, you're screwed anyway and it's going to become
> un-manageable. Push this to userspace, not the kernel since it's a
> userspace issue when you come right down to it.
How do you handle the above scenario in userspace?
-- Jamie
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists