I've had to rebuild my Linux box. I want to have some folders I can robocopy to without having to supply a password. The way I used to do it with SambaGUI isn't available now so I've been hunting for the answer and got some of the way. This page https://askubuntu.com/questions/7819...re-no-password has a solution which works for folders in /home, so I can share /home/folder with Windows and Windows (specifically robocopy) can write to \\LinuxBox\folder OK. However, if I try the same thing on another disc, such as /media/user/TEMP/shared (where TEMP is the partition on sdb1) it doesn't work. Windows says the share is inaccessible - I do not have permission. I'm guessing it's to do with it not being in /home but beyond that I'm stuck. Can anyone help me please?
I have this in smb.conf:
I've done this:
Thanks.
I have this in smb.conf:
Code:
[Shared] browseable = yes path = /media/user/TEMP/Shared guest ok = yes read only = no create mask = 777
Code:
sudo chown -R nobody.nogroup /media/user/TEMP/Shared sudo chmod -R 777 /media/user/TEMP/Shared sudo systemctl restart smbd sudo systemctl restart nmbd