Goal: USB HDD ---samba multiple user separate folders--nextcloud -- each user have access to different separate folders from USB HDD.
So I want to backup from Windows to USB HDD (user X and Y) on DietPi and to see that files from Nextcloud accounts (X can see only X's
folders, Y only Y's folders). One path on USB HDD(from user X) will be set for Kodi.
Also I would like to be able to make new folders for each users from windows before I make new users to samba.
Samba installed from dietpi-software.
I can mount the external USB HDD and make folders from ssh.
I can access it from windows, BUT I dont have write priviliges from windows.
IF I change root folder for samba to the mounted USB HDD THEN I CANNOT CONNECT to the samba on windows even if I change password (smbpasswd)
Code: Select all
sed -i '/path = /c\path = /mnt/test8g' /etc/samba/smb.conf systemctl restart nmbd smbd
Can you provide steps that will pass, cause I tried a lot, and all is wrong.