Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Input/output error #190

Open
FlorianLudwig opened this issue Jan 5, 2018 · 1 comment
Open

Input/output error #190

FlorianLudwig opened this issue Jan 5, 2018 · 1 comment

Comments

@FlorianLudwig
Copy link
Contributor

FlorianLudwig commented Jan 5, 2018

I have a similar issue to #161. Since that issue is focused on the OS and architecture I decided to open a separate issue but the underlying problem might be the same.

Running inside vagrant (on 64bit intel):

$ ls /mnt/g
ls: reading directory /mnt/g: Input/output error

It actually seems to be two issues:

  • Multiple files with the same name
  • non ascii names, like ä and/or files with fun characters like spaces, slashes and colons

Changing _GdfsMixin.readdir to do:

filename = utility.make_safe_for_filename(filename)

and to omit duplicated names the problem is resolved.

Those are just workarounds for which I would like to find better solutions.

dsoprea added a commit that referenced this issue Jan 28, 2019
GDriveFS bug: #190
fusepy bug: fusepy/fusepy#133

- This commit also includes some general code cleanup.
dsoprea added a commit that referenced this issue Jan 28, 2019
GDriveFS bug: #190
fusepy bug: fusepy/fusepy#133

- This commit also includes some general code cleanup.
@dsoprea
Copy link
Owner

dsoprea commented Jan 28, 2019

Apparently the FUSE library is having issues with slashes in the filenames.

As far as duplicate files, they work fine:

-rw-rw-rw- 1 dustin dustin      1000 Jan 28 02:21 'DUPLICATE FILE#'
-rw-rw-rw- 1 dustin dustin      1000 Jan 28 02:21 'DUPLICATE FILE (1)#'

(The "(1)" is added by us to denote a duplicate)

For now, I've unfortunately had to tweak this library to not show filenames that have slashes.

See this issue for more information: fusepy/fusepy#133

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants