From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jamie Lokier Subject: Re: [PATCH 1/2] implement uid mount option for ext2 Date: Sat, 25 Jul 2009 00:16:58 +0100 Message-ID: <20090724231658.GM27755@shareable.org> References: <1248348991-849-1-git-send-email-ludwig.nussel@suse.de> <1248431444-18842-1-git-send-email-ludwig.nussel@suse.de> <1248431444-18842-2-git-send-email-ludwig.nussel@suse.de> <20090724165201.GA4231@webber.adilger.int> <19050.1094.758320.38666@stoffel.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Andreas Dilger , Ludwig Nussel , linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org To: John Stoffel Return-path: Content-Disposition: inline In-Reply-To: <19050.1094.758320.38666@stoffel.org> Sender: linux-kernel-owner@vger.kernel.org List-Id: linux-fsdevel.vger.kernel.org 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