I have two pieces of shop equipment that are sharing with smb v1. The equipment is too expensive to replace to upgrade to smb2-3.
My solution is to put them on an isolated subnet with a Linux server mounting the cifs shares, then sharing with smb v2.
I am experiencing permissions issues and can't figure out where I have messed up.
Users can browse the share and delete folders&files.
If a user tries to create a text file, they get no output to name the file. When they refresh (F5), they see FOUR new text files with the generic windows 'New Text Document.txt -> 'New Text Document(4).txt'
The same behavior shows when creating a folder: No prompt to name a new folder. Refreshing shows new folder->new folder(4).
When I try to delete the 4 files or 4 folders, the windows client locks, and I am unable to restart smbd. I have to reboot for samba to start working.
Files and folders can be manipulated at the terminal of samba just fine.
My current line for fstab:
file_mode=0777,dir_mode=0777,noperm,_netdev,vers=1.0,nofail,username=shopuser,password=shopPasswd 0 0
ls -l of all files/folders in /mnt/shop
drwxrwxrwx 2 root root 0 Oct 14 2019
SMB.CONF [global]
workgroup = WORKGROUP
server string = LINUX
server role = standalone server
guest account = shopuser
log file = /usr/local/samba/var/log.%m
max log size = 50
[shop]
path = /mnt/shop
public = yes
only guest = yes
writable = yes
printable = no