Hacker News new | ask | show | jobs
by VLM 1839 days ago
> more than one computers where in each computer my user has different ID

Decades of network filesystem users have had many solutions to that.

1 comments

I can think of basically two solutions:

1) pass user/group names around and resolve them at the destination to UID/GID; 2) ignore them entirely; assign ownership of all newly created files to the currently authenticated user (if authorized).

Are there other ones?

3) treat a machine-id/user-id pair as the “real userid” 4) add a remote->local userid mapping feature to your filesystem.