[Samba] Fruit module configured to use matter still write ._* files

Ralph Boehme rb at sernet.de
Mon Dec 21 19:56:36 UTC 2015


On Mon, Dec 21, 2015 at 05:44:52PM +0100, Nicolas Goy wrote:
> I have configured samba as follow:
> 
> [global]
> workgroup = GOYMAN
> netbios name = MATRIX
> security = user
> encrypt passwords = yes
> smb passwd file = /var/db/samba4/private/passdb.ntdb
> vfs objects = catia fruit streams_xattr
> fruit:resource = xattr
> fruit:metadata = netatalk
> fruit:locking = netatalk
> fruit:encoding = private
> 
> [projects]
> path = /data/projects
> write list = kuon, ino
> force create mode = 0770
> create mask = 0770
> 
> 
> I expect "fruit:resource = xattr" to avoid the creation of ._ files, but I still get some.

cf man vfs_fruit:

> I'm using FreeBSD with ZFS, samba is 4.3.1

"fruit:resource = xattr" only works on Solaris or a Solaris
descendant, because it not only requires support for xattrs of
arbitrary size, but also that the POSIX file IO API (open, read, write
asf) works with xattrs.

-Ralph

-- 
SerNet GmbH, Bahnhofsallee 1b, 37081 Göttingen
phone: +49-551-370000-0, fax: +49-551-370000-9
AG Göttingen, HRB 2816, GF: Dr. Johannes Loxen
http://www.sernet.de,mailto:kontakt@sernet.de



More information about the samba mailing list