[Samba] vfs_fruit: cannot remove any file

HAT hat at fa2.so-net.ne.jp
Mon Dec 28 16:34:34 UTC 2015


In case of OS X 10.9 and later, any file could not be removed.

$ rm test.txt
rm: test.txt: Resource busy

cannot remove:
OS X 10.11.2 El Capitan
OS X 10.10.5 Yosemite
OS X 10.9.5 Mavericks

can remove:
OS X 10.8.5 Mountain Lion
OS X 10.7.5 Lion
OS X 10.6.8 Snow Leopard
Windows 7

Environment:
Fedora rawhide
samba-4.3.3-0.fc24

smb.conf:
[global]
        workgroup = LOCALNET
        server string = %h
        dos charset = CP932
        log file = /var/log/samba/log.%m
        max log size = 50
        security = user
        passdb backend = smbpasswd
        load printers = yes
        cups options = raw
[Test 1]
      path = /export/test1/
      writable = yes
      vfs objects = catia fruit streams_xattr
      fruit:locking = netatalk
      fruit:encoding = native
      streams_xattr:prefix = user.
      streams_xattr:store_stream_type = no
      ea support = yes


If "fruit:locking = netatalk" line is deleted, there is no problem.

-- 
HAT



More information about the samba mailing list