Article 5QFKN Files on samba share keep getting locked

Files on samba share keep getting locked

by
zogthegreat
from LinuxQuestions.org on (#5QFKN)
Hi everyone!

I just setup a samba file server using Ubuntu Server 20.04. I can connect to the server from different machines in my house, but I when I try to move a file from the server that has been uploaded by another machine, I keep getting an error "You need permission to perform this action"

This only happens when I move the file, I can copy without any problems. I've been Googling the problem, but I haven't been able to find a solution. Here is my smb.conf, cut down to be more readable:

workgroup = WORKGROUP
server string = %h server (Samba, Ubuntu)
server role = standalone server
obey pam restrictions = yes

[profiles]
comment = Users profiles
create mask = 0600
directory mask = 0700
guest ok = Yes
path = /home/samba/profiles

[Shares]
comment = Shared Files
path = /home/Shares
browsable = yes
read only = no
guest ok = yes
level2 oplocks = no
oplocks = no
blocking locks = no
strict locking = no
locking = no

I've also tried adding this to my .conf

veto oplock files = /*.xls/*.XLS/*.xlsx/*.XLSX/*.doc/*.DOC/*.docx/*.mpg/*.mkv/*.mp4/*.srt/*.iso/*avi/*.DOCX/~$*
reset on zero vc = yes

Any suggestions?

Thanks!

zog
Attached Thumbnailsattachment.php?attachmentid=37387&stc=1& latest?d=yIl2AUoC8zA latest?i=nqxBaClMLsU:0Gx36OfP6yc:F7zBnMy latest?i=nqxBaClMLsU:0Gx36OfP6yc:V_sGLiP latest?d=qj6IDK7rITs latest?i=nqxBaClMLsU:0Gx36OfP6yc:gIN9vFwnqxBaClMLsU
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments