handyman5/acd_fuse

fuse: mount failed: Invalid argument

tentious opened this issue · 4 comments

Just found this awesome project! Getting this error when trying to mount. Fresh install of both python-fuse and acd. Any ideas on what I'm doing wrong?

user@host:/opt/acd# ./acd /mnt/acd/ -
Trying to login from cached sessionfile /tmp/acd_fuse/sessionfile
Login successful; starting filesystem
fuse: mount failed: Invalid argument
Traceback (most recent call last):
File "./acd", line 464, in
fs.main()
File "./acd", line 89, in main
fuse.Fuse.main(self)
File "/usr/lib/python2.7/dist-packages/fuse.py", line 757, in main
main(**d)
fuse.FuseError: filesystem initialization failed

I'm not sure; I don't think I've seen this one before. Is the mountpoint writeable? It seems like the error here is coming from the fuse layer, not from the amazon-cloud-drive layer.

I'm running acd as root and the mountpoint /mnt/acd is 777 and belongs to root:root. Note that I tried this on a fresh install of ubuntu 14.04 and I'm getting the same result.

Is there a way to test the fuse layer to make sure that's working ok? I've not used fuse in a year or more and only for a quick fix for something.

Solution found. Don't run as ROOT! Also doesn't work if you sudo run acd.

Thanks! I'm updating the README to note this troubleshooting step.