NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
VolkerB
Apr 23, 2026Aspirant
Issue with old user permissions and NFS
I recently migrated my RN214 to expose NFS shares instead of SMB (no Windows PCs anymore). Turned out that there was a UID collision, user "volker" was auto-assigned UID 100 which I didn't care too m...
- Apr 30, 2026
Here's what I did in a nutshell. Hope that helps.
# SMB → NFS Migration (UID/GID aligned)
* Problem: SMB does not reliably preserve timestamps → breaks rsync incremental backups
* Solution: switch to NFS with consistent UID/GID
---
# 0. Target State
* volker → UID 1000
* anja → UID 1001
* shared group: users (GID 100 on NAS + client)
* /data/Media → group RW (users)
* /home → per-user ownership
* NFS uses numeric IDs (must match!)
---
# 1. NAS Setup (RN214)
## Users
* Create:
* volker_new (UID 1000)
* anja_new (UID 1001)
* Trigger home creation via SMB login once
* Rename:
* old → *_old
* *_new → final names
## Fix ownership (/data/Media)
* chown -R --from=100:100 1000:100 /data/Media
* chown -R --from=101:100 1001:100 /data/Media
* cleanup check:
* find /data/Media -uid 100
* find /data/Media -uid 101
## Fix permissions
* chown -R :users /data/Media
* chmod -R 2775 /data/Media
## /home migration (if needed)
* move data or just:
* chown -R 1000:100 /data/home/volker
* chown -R 1001:100 /data/home/anja
* ensure ~/.ssh:
* chmod 700 ~/.ssh
* chmod 600 ~/.ssh/authorized_keys
## Final cleanup
* ensure no UID 100/101 left anywhere
---
# 2. Client Setup
## Group
* getent group users
* if missing: sudo groupadd -g 100 users
## Add users
* sudo usermod -aG users volker
* sudo usermod -aG users anja
* relog or newgrp users
## Install NFS + mount points
* sudo apt install nfs-common
* mkdir -p /media/rn214-Home
* mkdir -p /media/rn214-Media
---
# 3. NFS + fstab
## Enable on NAS
* /home → NFS on
* /data/Media → NFS on
* RW, async, root_squash, NO all_squash
## /etc/fstab
* rn214-volker:/home /media/rn214-Home nfs noauto,users,nfsvers=3 0 0
* rn214-volker:/data/Media /media/rn214-Media nfs noauto,users,async,nfsvers=3 0 0
* sudo systemctl daemon-reload
---
# 4. Test
* mount /media/rn214-Home
* mount /media/rn214-Media
## Verify IDs (IMPORTANT)
* ls -ln → must show:
* 1000 100
* 1001 100
## Write test
* touch + delete file → must work without sudo
---
# 5. rsync Migration (SMB → NFS)
## Copy
* rsync -aHAX --dry-run --no-xattrs --no-g /source/ /dest/
* rsync -aHAX --no-xattrs --no-g /source/ /dest/
## Verify
* rsync --dry-run again
* no output = perfect
## Finalize
* rename:
* user → user_old
* user_new → user
* test access
* delete old only after verification
---
# 6. Common Issues
* UID 100/101 still exist
→ migration incomplete
* permission denied
→ missing users group on client
* root issues
→ check NO all_squash
StephenB
Apr 23, 2026Guru - Experienced User
VolkerB wrote:sudo does not exist and for su - I don't know the root password - if there is any.
Try logging in as root, and then using the NAS admin password.
VolkerB
Apr 24, 2026Aspirant
StephenB : Thanks for the hint. Saved me a lot of hassle. I actually forgot that - after setting up SSH on the RN214 - I could either log in as admin or as root. root has all the necessary power for chown, so that made quick work of migrating UID 100 -> UID 1000 and adjusting the relevant files previously owned by UID 100.
I'll post a summary of my journey as a reply to my enquiry, just in case someone else wants to move from SMB/cifs to NFS on a Netgear NAS because modtime got unreliable rendering incfremental rsync backups essentially useless.
Related Content
NETGEAR Academy
Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!