Just wanted to give a quick update - I have things pretty much working and each user's home folder is accessible from inside Nextcloud as well as on the local network.
Instead of modifying the ACLs for each user's home folder and giving www-data access, I went with a slightly different configuration. Here are the steps I took in Nextcloud:
- Created users with the same username/password as the corresponding user in OMV
- Created a "Homes" group and added users to it that should have access to their home folder in Nextcloud
- Enabled the "External Storage" app
- Went to Admin -> External Storage and added a new entry as follows
- Folder name: "NAS Home"
- External storage: SMB / CIFS
- Authentication: Log-in credentials, save in session
- Configuration: Host = localhost, Share = homes (Remote subfolder and Domain left blank)
- Available for: Homes(group)
- Under Advanced settings for this entry:
- Enable previews
- Check for changes: Once every direct access
With things configured this way, I don't need to modify ACLs for each user's home folder to give www-data access, and I don't have to add individual entries under External Storage. As expected, anything in the "NAS Home" folder in Nextcloud shows up when browsing the local network. If I put a file in my folder on the network, it will show up in "NAS Home" in Nextcloud the next time I access it.
I still need to do more testing, but so far things look like they are functioning precisely how I wanted.