Jump to content

UID Not Selectable, Changing What Is Assigned


Recommended Posts

Hello,

 

I am working on my backup strategy, and have built a second NAS for backup purposes.  I have mounted the remote NFS shares in UnRAID (/mnt/remotes), but don't want to share them from UnRAID.  All I want is to have Syncthing run as a user with full access to the files in my shares, and sync to the second machine (TrueNAS)...

 

Well TrueNAS creates its own users...  You can create a user there and set the UID/GID when you create the user...  UnRAID...  Not so much.

 

When I initially created my users during UnRAID setup, it was "nice enough" to create those users with 1000, 1001, 1002, etc...  Of course these now conflict with everything else I have set up on the network.  This isn't a terrible thing day to day because we access everything with shares... but now for basic file sync outside the share functions, the UID/GID's won't match between the systems.

 

Both systems share "root" with UID/GID's of zero.  Any suggestions/caveats on how to do this securely? 

 

I could have Syncthing run as the root account so it is sure to copy everything, but I'd rather create a specific user for syncthing.  The issue is that I don't see how to tell UnRAID what UID/GID to use.  Is that even possible?  Seems like basic server functionality to me, but it's not in the GUI as I can find.

 

Any thoughts how to best accomplish this?

 

Thanks!

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...