mainsail file permissions 403 errors -- set umask to 022 #458
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Linux Distribution
Raspbian
What happened
I've run update from shell that had
umaskset to077which made~/mainsailwith permissions of700that then prevents it from working as thenginxcannot enter the directory if it lacks+xpermissions.What did you expect to happen
I would expect the permissions to be enforced. Best would be to just add
umask 022at the very top ofkiauh.shand 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.zshrcand this is how umask got changed.How to reproduce
umask 077kiauh.shand update mainsail403 forbiddenuntil youchmod 755 ~/mainsail.Additional information