Announcement

Collapse
No announcement yet.

File shares not working on additional disc

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    [Settings] File shares not working on additional disc

    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:
    Code:
    [Shared]
    browseable = yes
    path = /media/user/TEMP/Shared
    guest ok = yes
    read only = no
    create mask = 777
    I've done this:
    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
    Thanks.
Working...
X