Score:0

Ubuntu mount CIFS share(smb1) and shared via samba

id flag

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
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.