[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <ficqd1$c1b$1@ger.gmane.org>
Date: Sun, 25 Nov 2007 22:45:05 +0100
From: Vincenzo Ciancia <vincenzo_ml@...oo.it>
To: linux-ext4@...r.kernel.org
Subject: Re: User permissions or UID/GIDs for portable disks?
Bram Neijt ha scritto:
> Dear ext4 developers,
>
> Currently using ext3 on an usbstick seems to have a few drawbacks.
The problem of identifying a local resource (user ids) in a global
environment (many different computers) has a very simple solution:
consider uids locals when you transmit them, and use an _injective_ map
when mounting the drive to map uids in the drive to uids in the system.
The function has to be non-surjective because uids which differ on the
drive must differ in the system (this might not be a requirement but I
suppose many would appreciate it). This would, however, require support
from on-disk ext4 data format, which should provide a "table of
employied UIDS" to the ext4 kernel module, which should then do the
translation.
The injective map should, of course, be the identity function, unless
differently specified by users.
Is this feasible in anybody's opinion? It seems not such a conservative
extension so I suspect it might cause discussion :)
Alternatively, the ability to just provide a map file from uids and gids
of a disk to those of a system when mounting would be greatly
appreciated - but how to read it from the disk before mounting? Many
concerns arise. Has this already been discussed in the past?
Vincenzo
-
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists