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

fuse: mount failed: Permission denied #1

Open
masnagam opened this issue Sep 12, 2021 · 2 comments
Open

fuse: mount failed: Permission denied #1

masnagam opened this issue Sep 12, 2021 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@masnagam
Copy link
Collaborator

masnagam commented Sep 12, 2021

The following error occurs when mounting a folder in a client container onto a worker container running on a remote Linux machine:

worker:22022: Mounting the proj directory...
+ ssh -p 22022 worker sshfs -p 22022 client:/proj /proj
Warning: Permanently added '[worker]:22022,[x.x.x.x]:22022' (ECDSA) to the list of known hosts.
fuse: mount failed: Permission denied

Launching the worker container with --privileged seems to solve this error, but capabilities should be minimized as much as possible in the security point of view.

@masnagam
Copy link
Collaborator Author

docker/for-linux#321

masnagam added a commit that referenced this issue Sep 12, 2021
masnagam added a commit that referenced this issue Nov 6, 2021
@masnagam
Copy link
Collaborator Author

masnagam commented Jan 9, 2022

1617f03 solved this issue partially, but SYS_ADMIN is still needed.

@masnagam masnagam added the bug Something isn't working label Jan 9, 2022
@masnagam masnagam self-assigned this Jan 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant