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