Open pbretz opened 6 years ago
Looks like my mount code got stripped out. Here it is:
$HOME/bin/goofys <bucket> <local directory mount>
I don't have an OS X machine to test, could you post the debug output with --debug_fuse
?
Here's output from:
Looks like the problem is Finder is trying to use xattr com.apple.FinderInfo
. I am not sure how it's defined in POSIX (looks like it's not) but in Linux the xattr names are supposed to be namespaced, ie: user.blah or system.blah. Additionally goofys define virtual xattrs in the form of s3.blah.
Typically in Linux, xattr other than user.blah are not settable by regular users so I emulate that in goofys. Also, user.blah is converted to x-amz-meta-blah
. If we want to support un-namespaced xattr, we will have to consider changing that to x-amz-meta-user-blah
instead.
@pbretz did you ever figure out a solution to this?
Hi, I can see files with finder also but under cmdline yes.
I'm possibly seeing the same issue, in Finder the directories are listed correctly but the files don't show up. Let me better illustrate this with a screenshot and what I see from the CLI -
❯ goofys --endpoint http://bondhu.local:9000 opendirectories-dump ~/Movies/open-directories
~
❯ cd ~/Movies/open-directories/103.109.215.30/103.109.215.30/FTP/Movies/Hindi/\(1995\)\ \&\ Before
~/Mo/o/103.109.215.30/103.109.215.30/FTP/Movies/Hindi/(1995) & Before
❯ ls
100 Days (1991) Gumrah (1993) Prem Qaidi (1991)
~/Mo/o/103.109.215.30/103.109.215.30/FTP/Movies/Hindi/(1995) & Before
❯ ls 100\ Days\ \(1991\)
100 Days (1991).avi
Whereas Finder draws a blank -
So I'm wondering if there is a workaround for this?
The performance of goofys
is significantly better than s3fs
as I'm able to stream movies and move back and forth without any lag (on my local network).
Hi there, having the same issue: "in Finder the directories are listed correctly but the files don't show up".
goofys version 0.24.0-45b8d78375af1b24604439d2e60c567654bcdf88
@gjeusel major thanks
Hi,
I've installed goofys on a Mac running OSX 10.12.6. I installed by using your instructions to compile from source using GO. I use the following to mount S3:
$HOME/bin/goofys
I get an OSXFUSE drive that displays on my desktop. If I open that drive and then drag and drop a file to it, the file appears to copy, but then I ultimately get the following error:
The operation can’t be completed because you don’t have permission to access some of the items.
However, if I cp the same file to the mounted directory using the command line, the file copies without any error. I can continue working from the command line, but am curious if you have any thoughts why I have an issue using drag and drop to the drive?
Pete