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

Permissions denied for the mounted directories #1

Closed
dan-m-1 opened this issue Jan 10, 2021 · 1 comment
Closed

Permissions denied for the mounted directories #1

dan-m-1 opened this issue Jan 10, 2021 · 1 comment

Comments

@dan-m-1
Copy link

dan-m-1 commented Jan 10, 2021

Screenshot 2021-01-10 133346

After starting the container with the mounted directories /input and /ouput the container reads the files, but then there is a Permissions denied error for writing the pdfs into the /output directory

@EccoB
Copy link
Owner

EccoB commented Jan 14, 2021

Hello,
The ocr runs as a normal user inside the container due to security reasons.

  • You can either set your output mount-point access to write others permissions, or run the container as the corresponding user. Or
  • Run the container as the user, the input and output folder belongs to with docker run --user XXXX:XXXX

I'll update the README

@EccoB EccoB closed this as completed Jan 14, 2021
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

2 participants