-
-
Notifications
You must be signed in to change notification settings - Fork 29
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 problems on QNAP #2
Comments
I can't seem to reproduce the error and am a little short on time these days. Lets try a quick fix: You might want to try adjusting files/runScanner.sh and after
Let me know if that helps... |
Hi, Thanks for reply. I'm not so experienced in this stuff but is it right that there is a double slash in the dir that causes permission problems? |
Hi @balli1187, The double slash is no issue. It is also created by the Brother drivers, so not much of a handle there. I tried to circumvent some seemingly wrong things, so would be interesting to know if everything still works... |
Found an even better fix, make sure to grab the latest version and let me know how it goes! |
Thanks for the fix. Unfortunately I can not scan to my NAS. Tried Any suggestions how to fix it? |
My apologies, this topic has completely dropped off my radar. Yes, I added this message to make sure all init works well. So we fixed the first error it seems. Not quite sure where the second one is coming from, I will try to reproduce. SNMP is definitely reqired though for the connection of the buttons, so this might already be an issue. You might want to keep this active. |
Everything is fine, no need for excuse. I figured it out myself: I changed the User that runs the container und that causes new permission problems. After changier the script's owner everything worked. I have tried some things to reduce the size of the pdfs as my first scan needed 30mb for 4 sheets. Next step will be ocr and it would be really interested in that automatic correction that you mentioned in your blog. |
Excellent, I will close this ticket now. But here are some pointers to the items you raise:
|
Dear Philipp,
I came accross your work and love the idea. Thanks for sharing!
I tried to run it on my QNAP NAS with a Docker-compose file but it rans into permission problems (see the log I copied from portainer):
Allowing use of questionable username. Adding user
NAS' ...Adding new group
NAS' (1000) ... Adding new user
NAS' (1000) with groupNAS' ... Creating home directory
/home/NAS' ...Copying files from
/etc/skel' ... sh: 1: cannot create /etc/opt/brother/scanner/brscan4//brsanenetdevice4.cfg: Permission denied
Unfortunately I was not able to sold it myself. I couldn't find the script/line in a script that causes the problem.
Can you help?
Regards Stephan
The text was updated successfully, but these errors were encountered: