I currently use Ubuntu Server and NextCloud 19.
Last time I used NextCloudPi with Samba/SMB enabled. But now I want to do without these variation.
I have installed NextCloud and saved the data on an external hard drive.
But now I need to access my folder via SMB. In NextCloud I have found no option for this.
Now I have installed Samba. Samba works for normal folders (e.g. /home/usr/). But I can not access user folders of NextCloud (e.g. /nextcloud/data/usr/files/). It works only with root rights in terminal.
How can I configure the single folder or Samba to work via SMB?
I have created a Samba user with the same user name. Unfortunately it does not work.
Samba itself does not get into the folder.
I only appear in the folder as SU (sudo su …).
Right, this is necessary because you have modified files in the data folder and introduced a discrepancy between what’s in there and what Nextcloud has in its database. It’s asking for something to break, but that’s just my opinion. I stand by my earlier suggestion of flipping it around.
There are security issues related to local external storage. In that case, it may better to loopback SMB or something similar.