0

So I have an SMB share hosted off an ubuntu server 18.04 computer. I connect to ZFS pool using smb://my-server.local in finder. It works nicely, except for one main issue that makes me fear using SMB at all.

If I copy a file, lets say foo.7z, to my server through Finder, it copys just fine. If I remove the file using Finder, it removes just fine.

However, if I copy foo.7z to my server through finder, then remove it using my server (ssh into, then rm), Finder still thinks its there. If I copy a totally different file named the same (foo.7z), Finder says:

The operation can’t be completed because an item with the name “foo.7z” already exists.

Even if file does disappear, Finder still says that. I need to disconnect from server and reconnect for it to work. Again, I do not trust this.

My smb.conf file on my server is below:

[global]
mangled names = no
dos charset = CP850
access based share enum = yes
unix extensions = no
fruit:aapl = yes
fruit:model = MacPro
unix charset = UTF-8
fruit:resource = xattr
workgroup = WORKGROUP
server string = %h server (Samba, Ubuntu)
dns proxy = no
log file = /var/log/samba/log.%m
max log size = 1000
syslog = 0
panic action = /usr/share/samba/panic-action %d
server role = standalone server
passdb backend = tdbsam
obey pam restrictions = yes
unix password sync = yes
passwd program = /usr/bin/passwd %u
passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .
pam password change = yes
map to guest = bad user
usershare allow guests = yes

[SMB Share]
 comment = SMB Share
 path = /smbshare
 browseable = yes
 read only = no
 guest ok = no
 ea support = yes
 vfs objects = catia fruit streams_xattr
 map archive = no
 spotlight = yes
 readdir_attr:aapl_rsize = yes
 readdir_attr:aapl_finder_info = yes
 readdir_attr:aapl_max_access = yes

My main computer I use to test is High Sierra 10.13.6, but if I remember this happen on El Capitan 10.11.6 also. not test in Mojave because do not have installed yet. Samba on ubuntu is 4.7.6

Any help is appreciated, and please understand my english is not the best. Thank you very much.

You must log in to answer this question.

Browse other questions tagged .