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 Thumbnails
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 Thumbnails