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

Document adding SELinux context for CIFS mounts #182

Open
sartsj opened this issue Jun 20, 2019 · 0 comments
Open

Document adding SELinux context for CIFS mounts #182

sartsj opened this issue Jun 20, 2019 · 0 comments

Comments

@sartsj
Copy link

sartsj commented Jun 20, 2019

Using the documentation provided on github and http://netshare.containx.io/docs/cifs I struggled getting a CIFS mount to work in containers. The problem I was running into was that inside of the container I was not permitted to do anything on the mounted volume.

In the end it all seems to boil down to using the correct SELinux context when mounting the CIFS share. Something which is not mentioned in the documentation.

Perhaps it is a good idea to document that adding a context is probably needed when SELinux is enabled on the host machine.

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