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

bad ownership or modes for directory /root #20

Open
geekaz01d opened this issue Jan 1, 2023 · 4 comments
Open

bad ownership or modes for directory /root #20

geekaz01d opened this issue Jan 1, 2023 · 4 comments

Comments

@geekaz01d
Copy link
Contributor

geekaz01d commented Jan 1, 2023

The path /root in container has incorrect ownership, which throws the following error in the receiver container (although the permissions are wrong on the sender it doesn't induce any errors):

Authentication refused: bad ownership or modes for directory /root

Solution:

drwxr-xr-x 1 99 users 18 Jan 1 01:24 root

cd /
chown root root
chgrp root root

drwxr-xr-x 1 root root 18 Jan 1 01:24 root

@geekaz01d
Copy link
Contributor Author

More info about this:

If I create the paths (as root on host) before setup, it doesn't happen.

The issue specifically occurs when unraid docker container configuration is used to create the path.

@devzwf
Copy link

devzwf commented Jan 1, 2023

I think that specific to unraid.
i tried to reproduce on a regular doccker host (debian ) and i did not had this issue.
i will do more test

@geekaz01d
Copy link
Contributor Author

I think the appropriate solution for a problem like this is to document it, not code around it.

@helfrichmichael
Copy link

helfrichmichael commented Oct 15, 2023

Any updates here? I've tried adjusting the permissions and owners to no avail.

EDIT: Adjusted recursively and that fixed the errors they are syncing now. Now to figure out why the password won't sync.

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

3 participants