On Fri, 3 Jan 2014 00:31:27 -0200, Francisco Ares wrote: > As far as I know, in a Gentoo system, any user in the group "disk" will > be able to read/write to any USB stick plugged into the computer, with > no ownership to any written file. In Linux (at least), as users are > internally treated as numbers, those would not match from one system to > another, so there is no meaning in a user owning a file in a removable > device.
This is incorrect. File ownership is a domain of the filesystem, it is held in the file's metadata. If you use a filesystem that supports ownership, like ext*, you will end up with a non-portable stick. Belog to the disk group only allows access to the dev node, not the files on the disk. Stick with FAT, where thereis no ownership so Linux pretend all files are owned by whoever mounted the drive. -- Neil Bothwick Multitasking: Reading in the bathroom.
signature.asc
Description: PGP signature

