mount usb: same username different uid: problem

Kevin O'Gorman kogorman at gmail.com
Mon Jun 18 17:56:19 UTC 2012


On Mon, Jun 18, 2012 at 8:09 AM, Uwe Brauer <oub at mat.ucm.es> wrote:
>>> On Mon, 18 Jun 2012 07:16:02 -0700, "Kevin O'Gorman"
>>> <kogorman at gmail.com> wrote:
>
>   >>
>   >> If you make sure your UID is the same on both
>   >> machines, you shouldn't need to do that at all.
>
>
>   > Actually, unless this memory stick has been reformatted with a *nix
>   > filesystem, it should not have a UID or username on it at all.  Such
>   > things just don't exist in a fat filesystem, which is what's on all of
>   > them I've ever seen in stores.
>
> Well of course, I said this is my first mail, the stick has
> been reformatted with a jfs file system. I did that because
> this way rsync is much more efficient!

Then you really do have a problem.  It has solutions, none of which is
perfect.  For example
- change your UID to agree across all systems
- get familiar with udev rules and write your own
- try the 'user' flag in the /etc/fdisk entries
- change permissions on all files and directories on the stick, and
keep changing them as rsync changes things.

-- 
Kevin O'Gorman, PhD




More information about the ubuntu-users mailing list