Re: [PATCH 1/2] implement uid mount option for ext2

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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-fsdevel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [Samba]     [Device Mapper]     [CEPH Development]
  Powered by Linux