FIrst off let me say I think this is a LInux issue and not a WDMyCloud issue, but I’m not sure, so here goes…
I can rsync my stuff off the Linux systems on my LAN to back them up into a WDMyCloud share, no problem. But then I can’t get at some stuff with limited file permissions, when I mount the WDMyCloud via NFS.
Here’s the problem… Let’s s say my directory tree on the WDMyCloud looks like “/shares/Stuff/L1/L2/L3” where the permissions on “L3” look like this:
drwx------+ 3 fred share 4096 Jul 1 01:03 L3
It’s readable/writeable only by “fred”. I want to preserve the permissions and ownerships on everything, so if I have to do a restore and “rsync” it back onto another machine they’ll go back the way they were when I backed them up. I can see the contents of “L3” if I “ssh” into the MyCloud, *but* I *cannot* see the contents of “L3” if I try to look at it via the NFS mount - I get
ls: L3: permission denied.
If I change the permissions on it, e.g.
drwxrwxrwx+ 3 fred share 4096 Jul 1 01:03 L3
then I can see the contents of “L3” just fine. So it’s just the fact that via the NFS mount the MyCloud NFS server (Or something?) won’t give me access to it unless the permissions are open, even logged in as “root” on the machine where the MyCloud is NFS mounted.
I tried creating “fred” as a user on the MyCloud *and* made sure the numerical UID and GIDs were the same on the Linux machine and the MyCloud - No dice.
I haven’t tried everything in the world yet (I haven’t tried rebooting the MyCloud to see if some server hasn’t picked up the changes to “/etc/passwd” or whatever ; there’s something called “idmapd” that I guess I should look into… Etc.)
But I thought maybe somebody here might have run into this or have a bright idea?