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

Can't access subdir from top dir even as a root user #776

Open
JaneSoo opened this issue Nov 10, 2023 · 0 comments
Open

Can't access subdir from top dir even as a root user #776

JaneSoo opened this issue Nov 10, 2023 · 0 comments

Comments

@JaneSoo
Copy link

JaneSoo commented Nov 10, 2023

I mounted the bucket from S3 with the following command
sudo goofys -o allow_other mybucket /mnt/buckets/mybucket/

inside mybucket, there are a bunch of subdirectories.

When I do rsync or cp (with sudo) some subdirectories, I ran into a problem:
sudo cp -rv /mnt/buckets/mybucket/a /destination
cp: cannot access '/mnt/buckets/mybucket/a/b/c': Input/output error

sudo rsync -arv --delete /mnt/buckets/mybucket/a /destination
rsync: [sender] readdir("/mnt/buckets/mybucket/a/b/c"): Input/output error (5)
IO error encountered -- skipping file deletion

however, if I copy or rsync full path sudo cp -rv /mnt/buckets/mybucket/a/b/c /destination there was no problem at all.

I did ls -al, all directories and subdirectories have all permissions for root and other user

when I did ls -al /mnt/buckets/mybucket/a/b/c first time, I got this error:
ls: reading directory '/mnt/buckets/mybucket/a/b/c': Input/output error

but after I kept running the same command, I finally saw all the directories and files under it.

Does anyone know what could be the problem?

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

1 participant