Hi community!
I’ve been playing around with openhabian on a raspberry pi 4. Now I’d like to use it seriously and therefore have a good backup strategy. I decided to use Amanda which requires to mount a nfs share which causes some trouble.
I created following nfs share on my synology NAS:
on my openhabian I created the folder /storage/diskstation with openhabian:openhabian as owner and following fstab line:
10.0.0.10://volume1/openHabianBackup /storage/diskstation nfs nolock,noatime 0 0
Now I can mount it with “sudo mount /storage/diskstation” which appears to work. But if i try to cd into the directory I get following error:
-bash: cd: /storage/diskstation/: Permission denied
I think the problem might be, that in my nas the user openhabian has UID 1036 and the group openhabian has GID 65540. On the raspberry pi the UID is 1000 and GID 1000.
Is it plausible that this can be the source of my permission problem. And how can I solve this? I don’t think I can (or should) change the id’s on my NAS. So, is it possible to change it on the openhabian system to match the NAS?
Thank you very much for your help!