[Samba] macos finder error 36 when copy folder to samba 4.2.2
Sascha Kasch
sascha.kasch at albertbauer.com
Fri Jun 19 02:28:14 MDT 2015
Am 18.06.2015 um 22:27 schrieb Ralph Böhme:
> On Thu, Jun 18, 2015 at 09:51:28AM +0200, Sascha Kasch wrote:
>> Am 17.06.2015 um 14:39 schrieb Sascha Kasch:
>>> Am 17.06.2015 um 09:11 schrieb Sascha Kasch:
>>>> dear list,
>>>>
>>>> encountered a problem and hopefully someone more experienced might help
>>>> me.
>>>> problem is with macos 10.9.5 and finder.
>>>>
>>>> i want to copy a simple folder with subfolders and without any files to
>>>> my samba share.
>>>> files alone work flawlessly.
>>>>
>>>> when i drag a folder from desktop to the share the finder errors out
>>>> with error -36 but creates all folders.
>>>> same happens when i copy an empty folder from the share to the share.
>>>>
>>>> macos log says:
>>>> 16.06.15 17:19:54,000 kernel[0]: smb_ntstatus_error_to_errno: Couldn't
>>>> map ntstatus (0xc0000225) to errno returning EIO
>>>> 16.06.15 17:19:54,000 kernel[0]: smb2fs_smb_cmpd_set_info: Second close
>>>> failed 9
>>>> 16.06.15 17:19:54,000 kernel[0]: smb_ntstatus_error_to_errno: Couldn't
>>>> map ntstatus (0xc0000225) to errno returning EIO
>>>>
>>>> appended a pcap file with port 445 capture of the copy operation.
>>>> ---edit---
>>>> (not appended because the mailing list does not like my attachment)
>>>>
>>>> target folder posix-permissions are 0777 and acls are also rwx for user,
>>>> group and others
>>>> as well as default acls for group @support with rwx
>>>>
>>>> - server: debian 8 jessie with sernet 4.2.2 samba packages
>>>> - samba config:
>>>>
>>>> [global]
>>>> workgroup = domain.com
>>>> server string = %h server
>>>> smb ports = 445
>>>> log level = 2
>>>> os level = 60
>>>> security = user
>>>> case sensitive = no
>>>> domain logons = yes
>>>> domain master = no
>>>> usershare max shares = 0
>>>> unix extensions = no
>>>> wide links = no
>>>> encrypt passwords = true
>>>> guest account = nobody
>>>> logon path =
>>>> hide special files = no
>>>> printcap name = cups
>>>> use sendfile = true
>>>> vfs object = catia fruit streams_xattr acl_xattr
>>>> fruit:nfs_aces = no
>>>> reset on zero vc = yes
>>>>
>>>> #======================= Share Definitions =======================
>>>>
>>>> [test-volume]
>>>> path = /daten/pv50/test-volume
>>>> valid users = @support
>>>> admin users = @support
>>>> read only = no
>>>> inherit permissions = yes
>>>> inherit acls = yes
>>>> map archive = no
>>>> map readonly = no
>>>> store dos attributes = yes
>>>>
>>>> thanks in advance,
>>>> sascha
>>>>
>>>>
>>> ok, streams_xattr is the problem here.
>>> when catia and fruit are not stacked with streams_xattr the finder works
>>> as expected.
>>> but of course metadata and resource forks do not work anymore.
>>> also saving from office 2011 for mac does not work
>>>
>>> i am quite lost here...
>>> sascha
>>>
>> dear list,
>>
>> is there anything i could provide to investigate further?
>> maybe a packet capture? debug log?
> please file a bugreport so we can track this and attach a network
> trace and a level 10 debug log.
>
>> is it possible that "[PATCH] OS X SMB2 AAPL copyfile extension" from
>> ralph böhme might be helpful with my problem?
> probably not.
>
> -Ralph
>
hi ralph,
filed a bug report: https://bugzilla.samba.org/show_bug.cgi?id=11347
tia,
sascha
More information about the samba
mailing list