vfs_fruit cannot delete files

Status
Not open for further replies.

Evan31

Dabbler
Joined
Nov 7, 2014
Messages
30
I am trying to make a share with Mac extensions that is compatible with a standard samba share with streams_xattr. The share appears to work at first glance but when I copy a file in via Finder then I can't delete it -- when deleting via Finder the file disappears for a second then reappears, and when deleting via Terminal I get either "No such file or directory" or "Resource busy". Interestingly if I create a file via Terminal I can delete via Terminal or Finder.

I have configured:

[share]
vfs objects = zfsacl zfs_space fruit streams_xattr aio_pthread
fruit:metadata = stream
fruit:locking = none
(plus the default share settings)


Has anyone gotten this configuration to work? I have tried with 9.10.2, 9 nightly and 10 nightly.
 
Last edited:

Evan31

Dabbler
Joined
Nov 7, 2014
Messages
30
I have managed to get a netatalk-compatible share to work with:

[share]
vfs objects = zfs_space zfsacl catia fruit streams_xattr aio_pthread
streams_xattr:prefix = user.
streams_xattr:store_stream_type = no
fruit:encoding = native
fruit:locking = none
(plus the default share settings)


I'd like to try to get the original to work as it doesn't require me to copy out/copy in all the data to get the extended attributes and filenames to the right format.
 

Evan31

Dabbler
Joined
Nov 7, 2014
Messages
30
This appears to be working as expected in FreeNAS 11-RC, with this config:

[share]
vfs objects = zfs_space zfsacl fruit streams_xattr aio_pthread
fruit:metadata = stream
(plus the default share settings)
 
Status
Not open for further replies.
Top