Hello,

I'm having some trouble running s3fs with MacFUSE.  I am not sure
where the issue is, but hope that something here might trigger some
thoughts here.

I am running OS X 10.5.7 with MacFUSE 2.0.3.  I have compiled s3fs
(http://code.google.com/p/s3fs/wiki/FuseOverAmazon) and can mount and
read files from my Amazon S3 bucket.  If I try to copy a file into S3,
I get an "Invalid argument" error and an empty file.

    $ cp ~/Desktop/api-design.pdf .
    cp: ./api-design.pdf: Invalid argument
    cp: /Users/jchang/Desktop/api-design.pdf: could not copy extended
    attributes to ./api-design.pdf: Attribute not found
    $ ls -lh
    total 48
    [...]
    -rw-r--r--  1 jchang  staff    -1B Jul 20 22:04 api-design.pdf

However, if I repeat the operation, the "Invalid argument" error goes
away (although I still get an "Attribute not found" error, and the
file now exists in S3.

    $ cp ~/Desktop/api-design.pdf .
    cp: /Users/jchang/Desktop/api-design.pdf: could not copy extended
    attributes to ./api-design.pdf: Attribute not found
    $ ls -lh
    total 456
    [...]
    -rw-r--r--  1 jchang  staff   203K Jul 20 23:46 api-design.pdf

Furthermore, drag-and-drop from the Finder generates an error and an
empty file:

    The Finder cannot complete the operation because some data in
    <filename> could not be read or written. (Error code -36)

I have tried this with earlier versions of MacFUSE (back to 1.7), and
see the same error.

I wonder if this has something to do with the way OS X handles
extended attributes?  I've tried mounting with "-o auto_xattr," but
that does not seem to change any of the results.

I have also tried this on another 2 computers, also running OS X
10.5.7 and MacFUSE 2.0.3, but do not see the errors on those.  I do
not understand why I would only see this on one computer.  They are
all running the default Mac OS Extended Journaled file system.  Is
there any reason why the system would behave differently, e.g. a
preference or setting somewhere?

Can you think of anything that might explain the behavior here?

Thanks,
Jeff

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"MacFUSE" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/macfuse?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to