You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've run update from shell that had umask set to 077 which made ~/mainsail with permissions of 700 that then prevents it from working as the nginx cannot enter the directory if it lacks +x permissions.
What did you expect to happen
I would expect the permissions to be enforced. Best would be to just add umask 022 at the very top of kiauh.sh and it will have no effect on most default configurations but will fix any potential permissions issues for those that have umask of different value. I copied my .zshrc and this is how umask got changed.
How to reproduce
run umask 077
run kiauh.sh and update mainsail
try to access webui, 403 forbidden until you chmod 755 ~/mainsail.
Additional information
The text was updated successfully, but these errors were encountered:
Linux Distribution
Raspbian
What happened
I've run update from shell that had
umask
set to077
which made~/mainsail
with permissions of700
that then prevents it from working as thenginx
cannot enter the directory if it lacks+x
permissions.What did you expect to happen
I would expect the permissions to be enforced. Best would be to just add
umask 022
at the very top ofkiauh.sh
and it will have no effect on most default configurations but will fix any potential permissions issues for those that have umask of different value. I copied my.zshrc
and this is how umask got changed.How to reproduce
umask 077
kiauh.sh
and update mainsail403 forbidden
until youchmod 755 ~/mainsail
.Additional information
The text was updated successfully, but these errors were encountered: