I can indeed undoubtely and completely access (read, write, create, delete) files and folders hosted in my Raspberry Pi 4 install of OMV 5.5.23-1 (Usul) that are shared through my LAN by SMB. I can access them remotely from a Windows machine and an Ubuntu virtual machine in the same PC (haven't tried other computers). These shares are all in an external USB HD.
The problem is that when I SSH into that Raspberry Pi, I can only see some of those folders and some of those files. No mather if I login as pi or as sudo -i . Also, my Docker containers don't seem to be able to find their folders and files there either.
First, I'm kind of new at Linux.
I've been using OMV on this Raspberry Pi for more than a year, with this external USB HD and these Docker containers with some services (OpenVPN, Transmission, Emby, Pi-Hole, MotionEye). Now that I finally acquired a decent power source, I decided to rebuild this server that had been restored and backed up every couple of weeks, every time the SD was crashed beyound readability.
At first everything was going right. The mounts and shares were all easely configured through the web interface and were all working. The problem started when I tried redeploying the containers. They were redeployed with exactly the same docker-compose script (I backed it up before the wipe). Although all the containers installed successfully, none of them seems to have found their configurations and files, which are all in that external HD.
After banging my head continuously against Google, I noticed the real Twilight Zone (at least in my nooby point of view): Although all the files and folders that I shared with SMB are still fully accessible remotely, when SSH'ing into the Raspberry, I can only see some (not all, not none) of these folders and files. Doesn't matter if I go into root access (sudo -i). I tried chown -R pi:pi these folders, still no joy.
Can someone help me?