[Samba] vfs_fruit: cannot remove any file

Ralph Boehme slow at samba.org
Mon Dec 28 17:24:17 UTC 2015


On Tue, Dec 29, 2015 at 01:34:34AM +0900, HAT wrote:
> 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.

What happens if you keep the locking but remve the streams_xattr
options?

Cheerio!
-slow



More information about the samba mailing list