Finder error -36 (when copy files)

138 views
Skip to first unread message

Кирилл Мищенко

unread,
Jun 17, 2012, 8:56:50 AM6/17/12
to fus...@googlegroups.com

Hello!

I have problem using Fuse4x 0.9.0 in my Mac OS X 10.6.8. When I run example for fuse, which source code is fusexmp.c (standard example for linux fuse, which mirrors the root directory), and try to copy file in mounted folder using Finder, I get error -36, but file has copied, and I can open it after this. So, the problem is I get this error.

Anatol Pomozov

unread,
Jun 18, 2012, 1:00:21 AM6/18/12
to fus...@googlegroups.com
Hi Kirill

On Sun, Jun 17, 2012 at 5:56 AM, Кирилл Мищенко <mic...@gmail.com> wrote:

Hello!

I have problem using Fuse4x 0.9.0 in my Mac OS X 10.6.8.


First of all I suggest to upgrade to fuse4x 0.9.1. It contains a few important fuse fixes.
 

When I run example for fuse, which source code is fusexmp.c (standard example for linux fuse, which mirrors the root directory), and try to copy file in mounted folder using Finder, I get error -36, but file has copied, and I can open it after this. So, the problem is I get this error.


The fuse examples are written for command-line usage and Finder has quite a lot additional requirements. The error you see is because Finder does not like set/getxattr responses from ./fusexmp.

loopback.c from macfuse implements xattr correctly (I should pull those changes into fusexmp.c). It is how to compile loopback.c:

gcc -Wall `pkg-config fuse --cflags --libs` loopback.c -o loopback
# You might need to 'export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig/' in case if you use macports

Hope this helps.

Кирилл Мищенко

unread,
Jun 18, 2012, 2:04:30 AM6/18/12
to fus...@googlegroups.com
Hi Anatol

this works, thank you very much! =)
Reply all
Reply to author
Forward
0 new messages