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

New update can only list the files in root folder. #7

Open
qazmichaelgw opened this issue Jun 14, 2021 · 8 comments
Open

New update can only list the files in root folder. #7

qazmichaelgw opened this issue Jun 14, 2021 · 8 comments

Comments

@qazmichaelgw
Copy link

If I have files under different folder, i.e. a/, b/, c/.
It doesn't show anything under subfolders.

@qazmichaelgw qazmichaelgw changed the title New update can not list the files in root folder. New update can only list the files in root folder. Jun 14, 2021
@mpnowacki-reef
Copy link
Collaborator

I've just tried on debian (4.19.160-2) and python 3.9.5 and it seems to work. Could you post your setup and the directory structure that fails?

@qazmichaelgw
Copy link
Author

qazmichaelgw commented Jun 14, 2021

My structure:
test
-- aaa.plot
-- bbb.plot
tes2
-- ccc.plot
test3
-- ddd.plot
eee.plot

only eee.plot and folders shows up.

Python 3.9.0 Ubuntu 18.04

I use rclone --vfs-cache-mode full mount can work, but just slow in scan.

@mpnowacki-reef
Copy link
Collaborator

It's isomorphic to the one I'm testing. And how are you trying to view the structure? For example, does ls -R MOUNT_POINT only output this one file?

And by the way, I guess the mount process does not show any stack traces/errors?

@qazmichaelgw
Copy link
Author

ls -R MOUNT_POINT:
/b2/local:

/b2/ovh:

/b2/rise:

@mpnowacki-reef
Copy link
Collaborator

I'm sorry, I'm not sure I understand. Do you mean that:

  • /b2/ is your MOUNT_POINT, and
  • local, ovh and rise are folders in your bucket, containing plots (so these folders are analogues of test, tes2 and test3 from your previous comment), and
/b2/local:

/b2/ovh:

/b2/rise:

is the output of ls -R /b2/
?

@mpnowacki-reef
Copy link
Collaborator

mpnowacki-reef commented Jun 14, 2021

I've got an idea. I have generated a bucket and a read only key for this bucket. Send me an email (you can get it from my commits to this repository) and I'll share the credentials with you. This way we can test a setup that works on my end.

@qazmichaelgw
Copy link
Author

Yes.
Any files in /b2 can be read. But any files under subfolders cannot.

What's is your email BTW.

@mpnowacki-reef
Copy link
Collaborator

mpnowacki-reef commented Jun 14, 2021

I've sent you the credentials. After mounting the bucket with:

b2fs4chia /tmp/fuse-bucket --cache_timeout 3600

The output for ls -R /tmp/fuse-bucket/ is

/tmp/fuse-bucket/:
nested	one  two  up.txt

/tmp/fuse-bucket/nested:
nested

/tmp/fuse-bucket/nested/nested:
nested

/tmp/fuse-bucket/nested/nested/nested:
nested

/tmp/fuse-bucket/nested/nested/nested/nested:
up.txt

/tmp/fuse-bucket/one:
up.txt

/tmp/fuse-bucket/two:
up.txt	up2.txt

Please let me know if it works the same for you.

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