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

Permission issues with docker on linux #54

Open
MaHaWo opened this issue Jun 25, 2024 · 1 comment
Open

Permission issues with docker on linux #54

MaHaWo opened this issue Jun 25, 2024 · 1 comment

Comments

@MaHaWo
Copy link
Collaborator

MaHaWo commented Jun 25, 2024

Describe the bug
Using bind mounts in a docker container running with the current image will result in the docker user assuming ownership of the bound directories and its files, leading to permission problems for the result files.

To Reproduce
Run faunanet in docker and feed it some data with a directory in the user's home directory being mounted, then see how the the user does not have write permission on the files

Expected behavior
Permissions for output data should be granted to the user as if in a native run.

machine/OS
Linux. On macOS, this is automatically taken care of.

@MaHaWo
Copy link
Collaborator Author

MaHaWo commented Jul 4, 2024

There's no good fix for this I could make work. Either you have to build a new docker container for every user or run the whole thing in docker desktop, neither of which is useful by any stretch for remote edge devices.

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