RestyaPlatform / board

Trello like kanban board. Based on Restya platform.
http://restya.com/board/
Open Software License 3.0
2.03k stars 381 forks source link

IMAP Issue #4368

Open razor950 opened 2 years ago

razor950 commented 2 years ago

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 commented 2 years ago

@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 commented 2 years ago

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

daryl-o commented 2 years ago

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

razor950 commented 2 years ago

@daryl-o what did you change in it?

daryl-o commented 2 years ago

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 commented 2 years ago

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