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

IMAP Issue #4368

Open
razor950 opened this issue Jan 10, 2022 · 6 comments
Open

IMAP Issue #4368

razor950 opened this issue Jan 10, 2022 · 6 comments

Comments

@razor950
Copy link

razor950 commented Jan 10, 2022

I am getting e-mails that say this "Please check the permission for the shell folder of main.sh in your server"

I am actually not sure why the issue occurs fully or why doesn't it jut correctly assign its permissions, the folder that gets made ends up being a root:root and not a nginx:nginx owner:group so I don't know if that is part of the issue? I can nuke the folder and it'll be fine for a while but eventually it'll go back to spamming this.

@sridhar391
Copy link
Contributor

@razor950 Can you please tell us the instructions you have followed for the Restyaboard installation?
If you have installed Restayboard with Installation script restyaboard.sh, it will add the restyaboard user and create restyaboard group and it will apply suitable permisssion to the files

@razor950
Copy link
Author

I run restyaboard as a docker container, maybe those need to be updated with proper permissions?

@daryl-o
Copy link

daryl-o commented Jan 13, 2022

I had to change docker-scripts/docker-entrypoint.sh to eliminate the messages.

@razor950
Copy link
Author

@daryl-o what did you change in it?

@daryl-o
Copy link

daryl-o commented Jan 18, 2022

What I changed was overkill but I didn't feel like taking the time to narrow down further.

<   chown -R nginx:nginx /var/lib/nginx/html/tmp
<   chmod -R 777 /var/lib/nginx/html/tmp
<   chmod -R ugo+w /var/lib/nginx/html/client/img
<   chmod -R ugo+w /var/lib/nginx/html/server/php/shell
---
>   chown -R nginx:nginx /var/lib/nginx/html/tmp/cache

@dominikfehr
Copy link

I can confirm the behavior, thanks for the workaround @daryl-o

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

4 participants