1 |
On 02/01/14 23:02, Chris Stankevitz wrote: |
2 |
> Hello, |
3 |
> |
4 |
> Please consider a USB "stick" that is unformatted but is to be used by |
5 |
> multiple people/machines. Ideally your instructions will work for all |
6 |
> people/os/WM, but if necessary please assume that everyone is running |
7 |
> gnome under linux |
8 |
|
9 |
Well, if it ideally should work across multiple operating systems, |
10 |
you're probably stuck with FAT32 or similar due to Windows. |
11 |
|
12 |
> 1. How should I prepare this device so that it can be plugged into any |
13 |
> machine and will be writable by anyone? I suspect the answer will |
14 |
> involve words like fdisk, mkfs.xxx, mkdir/mount, chmod/chown. I'm |
15 |
> most interested in the chmod/chown part. |
16 |
|
17 |
If you go with FAT, there's no notion of ownership (I believe) so it's |
18 |
not a problem. If you don't, I still don't think chmod/chown matters |
19 |
as long as the user has the permissions to write to the stick when |
20 |
mounted on their own machine. I might be wrong though! |
21 |
|
22 |
> 2. How can I prepare the device so that files/directories added by |
23 |
> people in the future will continue to be writable by anyone? |
24 |
|
25 |
Likewise, I think they'll be able to as long as they have the |
26 |
permission to write to the mounted stick _on their own machine_. |
27 |
|
28 |
> 3. How can I ensure that all files will appear to have the same owner; |
29 |
> or, if this is not important, can you explain why it should not be a |
30 |
> problem. |
31 |
|
32 |
I think it's not a problem, at least not with FAT. |
33 |
|
34 |
> And of course if you can refer me to a document that explains this I'm |
35 |
> happy to read it. |
36 |
> |
37 |
> Thank you, |
38 |
> |
39 |
> Chris |
40 |
> |
41 |
|
42 |
I'm not an expert but hopefully this helps to at least steer you in |
43 |
the right direction. I used multiple USB sticks across multiple |
44 |
machines across multiple systems in the past and I never had any |
45 |
ownership concerns that you do. The only issues were if one of the |
46 |
systems couldn't read the file format used. |
47 |
|
48 |
-- |
49 |
Mateusz K. |